Skip to content

Instantly share code, notes, and snippets.

@MartinThoma
Created August 6, 2022 15:40
Show Gist options
  • Save MartinThoma/f743746867256ca1187c0fb5e175ec15 to your computer and use it in GitHub Desktop.
Save MartinThoma/f743746867256ca1187c0fb5e175ec15 to your computer and use it in GitHub Desktop.
/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