Skip to content

Commit

Permalink
align openapi spec with implementation to return 201 instead of 200
Browse files Browse the repository at this point in the history
  • Loading branch information
misto committed Nov 9, 2024
1 parent c05c292 commit 9464cf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ paths:
$ref: '#/components/schemas/Pet'
required: true
responses:
200:
201:
description: Pet type created successfully.
headers:
ETag:
Expand Down

0 comments on commit 9464cf3

Please sign in to comment.