Open Pisztrang opened 2 years ago
I'm hitting the same issue. Also if you replace "oneof" with "anyof" above the same problem occurs. Related to: https://github.com/OpenAPITools/openapi-generator/issues/1745 and https://github.com/OpenAPITools/openapi-generator/issues/8086
Hi
I have this yaml file:
when I execute the generator for golang, then I receive this generated datatype:
Is it possible to make this better, since basically it gives error and actually the fields are not included at all.
If I remove the oneOf, then it generates the correct datatype, but then I loose the checker functions. thanks Akos