You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, everything works if you omit the discriminator.mapping field, but many documentation tools use this to help the user browse the API so ideally we want to keep it in.
What version of ogen are you using?
Can this issue be reproduced with the latest version?
Yes
What did you do?
Try to generate code from this schema:
What did you expect to see?
The code generate successfully
What did you see instead?
The following error output:
It looks like because the
Car
/Bicycle
schema is being merged from aallOf
,ogen/gen/schema_gen_sum.go
Line 278 in eb1bcf6
false
so it never finds a mapping.The text was updated successfully, but these errors were encountered: