From c2902c2e85863ca77ed3510618d513b8f065145d Mon Sep 17 00:00:00 2001 From: Nick Adcock Date: Thu, 27 May 2021 11:14:05 +0100 Subject: [PATCH] Fix authorization header doc in hub api Signed-off-by: Nick Adcock --- docker-hub/api/latest.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-hub/api/latest.yaml b/docker-hub/api/latest.yaml index 44887fb595..58c7c27c94 100644 --- a/docker-hub/api/latest.yaml +++ b/docker-hub/api/latest.yaml @@ -58,7 +58,7 @@ definitions: token: description: | Created authentication token. - This token can be used in the HTTP Authentication header as a JWT to authenticate with the Docker Hub APIs. + This token can be used in the HTTP Authorization header as a JWT to authenticate with the Docker Hub APIs. type: string x-nullable: false example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c @@ -484,7 +484,7 @@ paths: description: | Creates an authentication token that can be used to authenticate with the Docker Hub APIs. - The returned token is used in the HTTP Authentication header like `Authentication: JWT {TOKEN}`. + The returned token is used in the HTTP Authorization header like `Authorization: JWT {TOKEN}`. Most Docker Hub APIs require this token either to consume or to get detailed information. For example, to list images in a private repository. parameters: