Open fiendish opened 13 hours ago
I guess it's because $ref siblings are ignored? But I think that should be ok in openapi 3.1? Is 3.1 a no go?
I guess it's because $ref siblings are ignored?
Wait, but that doesn't seem right either, because it's picking up the description.
What version of ogen are you using?
Can this issue be reproduced with the latest version?
Yes, 1.8.1
What did you do?
If I do something like this in my openapi spec json file:
The generated output is
Where the property was nullable, but the output is
Opt
and notOptNil
.But if I do something like this instead:
Then I get the expected
OptNil
What did you expect to see?
I expect both cases to be
OptNil
.