Forum Discussion
HKosova
SmartBear Alumni (Retired)
Hi Raj, try wrappin the $ref into allOf:
TitleWithDefault
allOf:
- $ref: '#/components/schemas/Title'
default: Unknown
kashira
4 years agoNew Contributor
G'day Helen,
Thanks for your reply. I tried. It did not work.
Please can you help.
Thanking you,
Raj
- HKosova4 years agoSmartBear Alumni (Retired)
"default" needs to be on the same level as "allOf", not inside it.
TitleWithDefault allOf: - $ref: '#/components/schemas/Title' default: Unknown
Related Content
- 5 years ago
- 5 years ago
- 3 years ago
- 4 years ago
Recent Discussions
- 16 days ago
- 19 days ago