Forum Discussion

zur's avatar
zur
New Contributor
3 years ago

Swagger OpenAPI Code Gen "oneOf" : How to generate correct class file?

TLDR: Swagger offers a feature named 'oneOf'. The resulting java classes created do not seem to be correct.   Details: I am creating the spring/java server side rest api code. And when I send a r...