Created
March 28, 2022 13:21
-
-
Save hrvoj3e/f24b12a7aab8486a6a59f095bcc7edc6 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
openapi: 3.0.2 | |
info: | |
title: demo | |
version: 1.0.0 | |
description: '' | |
paths: | |
/demo: | |
get: | |
parameters: | |
- in: query | |
name: id | |
schema: | |
type: integer | |
format: int32 | |
minimum: 10000 | |
examples: | |
empty: ## just an empty value ## fixes auto filling example | |
value: | |
demo-1: | |
value: 10101 | |
canceled-order: | |
value: 10102 | |
order-with-discount: | |
value: 10103 | |
order-with-discount-2: | |
value: 10104 | |
summary: there are multiple discount applied | |
x-examples-summary-show: title | |
x-examples-key-show: true | |
responses: | |
'200': | |
description: OK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment