Forum Discussion
HKosova
4 years agoSmartBear Alumni (Retired)
You are almost there. Nested objects are defined like this:
content:
application/json:
schema:
type: object
properties:
field1:
type: object
properties:
field1_sub1:
type: string
example: '3233'
Check out these links for more examples:
How to have a property reference a model in OpenAPI (i.e. nest the models)?
Related Content
Recent Discussions
- 4 days ago
- 26 days ago