Forum Discussion
1 Reply
Sort By
- HKosovaSmartBear Alumni (Retired)
Would this object be implicitly required?
No.
To make this object required you'll need to include it in the "required" list of the parent object:
A: type: object required: [b] # <---------- properties: b: $ref: '#/components/schemas/B' B: type: object required: [foo, bar] properties: ...
Related Content
- 2 years ago
- 6 months ago
- 6 years ago
- 2 years ago
Recent Discussions
- 5 days ago
- 24 days ago