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
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
While generating a Java server code with polymorphism (oneOf), we get a compilation error while the base class is imported due to it was not generated.
Bug Report Checklist
Description
While generating a Java server code with polymorphism (oneOf), we get a compilation error while the base class is imported due to it was not generated.
openapi-generator version
5.2.0
OpenAPI declaration file content or url
Plugin configuration:
Generation Details
Steps to reproduce
Generate code with openapi-generator-maven-plugin.
mvn clean compile
DefaultApi.java
file. It's trying to import a OneOfTomatoCarrot, but it has not been generated.Related issues/PRs
Suggest a fix
Following the provided example, a OneOfTomatoCarrot class must be generated.
The text was updated successfully, but these errors were encountered: