Description
When using the useOneOfInterfaces option, the generated code does not compile.
Children classes are OK, but the generated parent is a class instead of an interface.
openapi-generator version
I've reproduces the issue with openapi-generator-maven-plugin :
7.0.1, 7.1.0
6.6.0
The option does not seem supported on previous releases.
OpenAPI declaration file content or url
OpenAPI spec :
https://gist.github.com/jerui1/da605832f67667e32a96f5c4d346640e
Sample maven project to reproduce :
openapigen-oneofbug.zip
Generation Details
mvn clean install
(I've tried using Java 17 or Java 21)
Description
When using the useOneOfInterfaces option, the generated code does not compile.
Children classes are OK, but the generated parent is a class instead of an interface.
openapi-generator version
I've reproduces the issue with openapi-generator-maven-plugin :
7.0.1, 7.1.0
6.6.0
The option does not seem supported on previous releases.
OpenAPI declaration file content or url
OpenAPI spec :
https://gist.github.com/jerui1/da605832f67667e32a96f5c4d346640e
Sample maven project to reproduce :
openapigen-oneofbug.zip
Generation Details
mvn clean install
(I've tried using Java 17 or Java 21)