Created
August 6, 2022 15:40
-
-
Save MartinThoma/f743746867256ca1187c0fb5e175ec15 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/store/order: | |
post: | |
summary: Place an order for a pet | |
responses: | |
'200': | |
description: successful operation | |
content: | |
application/json: | |
schema: | |
$ref: '#/components/schemas/Order' | |
'400': | |
description: Invalid Order | |
content: | |
application/json: | |
example: | |
status: 400 | |
message: "Invalid Order" | |
requestBody: | |
content: | |
application/json: | |
schema: | |
$ref: '#/components/schemas/Order' | |
description: order placed for purchasing the pet | |
required: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment