Skip to content

Commit

Permalink
Merge pull request #2291 from tsutsu3/fix-api-docs-put
Browse files Browse the repository at this point in the history
Fix status codes and response messages for PUT in API docs
  • Loading branch information
DL6ER authored Feb 27, 2025
2 parents 0d8251b + c36666a commit f0a4ac1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/api/docs/content/specs/clients.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ components:
- $ref: 'clients.yaml#/components/schemas/clients/put'
- $ref: 'common.yaml#/components/schemas/took'
responses:
'201':
description: Created item
'200':
description: Created or Updated Item
content:
application/json:
schema:
Expand Down
4 changes: 2 additions & 2 deletions src/api/docs/content/specs/domains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ components:
- $ref: 'domains.yaml#/components/schemas/domains/put'
- $ref: 'common.yaml#/components/schemas/took'
responses:
'201':
description: Created domain
'200':
description: Created or Updated domain
content:
application/json:
schema:
Expand Down
4 changes: 2 additions & 2 deletions src/api/docs/content/specs/groups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ components:
schema:
$ref: 'groups.yaml#/components/schemas/groups/put'
responses:
'201':
description: Created item
'200':
description: Created or Updated Item
content:
application/json:
schema:
Expand Down
4 changes: 2 additions & 2 deletions src/api/docs/content/specs/lists.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ components:
schema:
$ref: 'lists.yaml#/components/schemas/lists/put'
responses:
'201':
description: Created item
'200':
description: Created or Updated Item
content:
application/json:
schema:
Expand Down

0 comments on commit f0a4ac1

Please sign in to comment.