Skip to content

Commit f0a4ac1

Browse files
authored
Merge pull request #2291 from tsutsu3/fix-api-docs-put
Fix status codes and response messages for PUT in API docs
2 parents 0d8251b + c36666a commit f0a4ac1

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/api/docs/content/specs/clients.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ components:
5555
- $ref: 'clients.yaml#/components/schemas/clients/put'
5656
- $ref: 'common.yaml#/components/schemas/took'
5757
responses:
58-
'201':
59-
description: Created item
58+
'200':
59+
description: Created or Updated Item
6060
content:
6161
application/json:
6262
schema:

src/api/docs/content/specs/domains.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ components:
7979
- $ref: 'domains.yaml#/components/schemas/domains/put'
8080
- $ref: 'common.yaml#/components/schemas/took'
8181
responses:
82-
'201':
83-
description: Created domain
82+
'200':
83+
description: Created or Updated domain
8484
content:
8585
application/json:
8686
schema:

src/api/docs/content/specs/groups.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ components:
5454
schema:
5555
$ref: 'groups.yaml#/components/schemas/groups/put'
5656
responses:
57-
'201':
58-
description: Created item
57+
'200':
58+
description: Created or Updated Item
5959
content:
6060
application/json:
6161
schema:

src/api/docs/content/specs/lists.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ components:
5454
schema:
5555
$ref: 'lists.yaml#/components/schemas/lists/put'
5656
responses:
57-
'201':
58-
description: Created item
57+
'200':
58+
description: Created or Updated Item
5959
content:
6060
application/json:
6161
schema:

0 commit comments

Comments
 (0)