Solved
Forum Discussion
HKosova
Alumni
5 years agoHi Raj, try wrappin the $ref into allOf:
TitleWithDefault
allOf:
- $ref: '#/components/schemas/Title'
default: Unknown
kashira
5 years agoNew Contributor
G'day Helen,
Thanks for your reply. I tried. It did not work.
Please can you help.
Thanking you,
Raj
- HKosova5 years ago
Alumni
"default" needs to be on the same level as "allOf", not inside it.
TitleWithDefault allOf: - $ref: '#/components/schemas/Title' default: Unknown