Skip to content

Commit

Permalink
Corrected the HTTP status code.
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniotarricone committed Dec 12, 2024
1 parent c5488e6 commit b4f279e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/META-INF/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ paths:
requestBody:
$ref: '#/components/requestBodies/GetAccessToken'
responses:
"201":
#description: Created
"200":
#description: Ok
$ref: '#/components/responses/AccessToken'
"400":
#description: Bad request
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/META-INF/openapi_not_admin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ paths:
requestBody:
$ref: '#/components/requestBodies/GetAccessToken'
responses:
"201":
#description: Created
"200":
#description: Ok
$ref: '#/components/responses/AccessToken'
"400":
#description: Bad request
Expand Down

0 comments on commit b4f279e

Please sign in to comment.