Forum Discussion
HKosova
SmartBear Alumni (Retired)
Hi johndorazio,
Your understanding is correct.
Multiple examples per property will be supported in the next version of the spec, OpenAPI 3.1 (which is in the RC stage now). The syntax will be as follows:
type: object
properties:
id:
type: integer
examples:
- 1
- 15
username:
type: string
examples:
- guest
- john
- jane
johndorazio
5 years agoNew Contributor
Ok eagerly awaiting the next release!
Related Content
- 4 years ago
- 2 years ago
Recent Discussions
- 6 days ago
- 7 days ago
- 24 days ago