Closed provokateurin closed 1 year ago
Note that this restriction on additional properties is a difference between Reference Objects and Schema Objects that contain a $ref keyword.
I see, so my problem actually seems to be that something gets interpreted as a Reference object instead of as a Schema object (since that allows nullable together with $ref).
Ok this is a specific bug in my application. Thanks for your help!
Are you sure the spec allows this? My understanding of the Reference Object is that it doesn't:
FWIW, I seem to recall an ugly hack to work around this restriction. Something like: