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
We upgraded from version 7.8.0 to 7.9.0 and found that changes between these versions break the java-camel generator's processing of the oneOf/anyOf definitions.
For example, the following schema generates proper code with version 7.8.0, but the generator version 7.9.0 creates a class with no fields. We are using version 3.0.3 of the OpenAPI spec.
kulon
changed the title
[BUG] Description
[BUG][JAVA] Upgrading **java-camel** generator from version 7.8.0 to 7.9.0 breaks processing of _oneOf/anyOf_ definitions
Dec 12, 2024
kulon
changed the title
[BUG][JAVA] Upgrading **java-camel** generator from version 7.8.0 to 7.9.0 breaks processing of _oneOf/anyOf_ definitions
[BUG][JAVA] Upgrading java-camel generator from version 7.8.0 to 7.9.0 breaks processing of oneOf / anyOf definitions
Dec 12, 2024
Description
We upgraded from version 7.8.0 to 7.9.0 and found that changes between these versions break the java-camel generator's processing of the oneOf/anyOf definitions.
For example, the following schema generates proper code with version 7.8.0, but the generator version 7.9.0 creates a class with no fields. We are using version 3.0.3 of the OpenAPI spec.
openapi-generator version
version 7.9.0 of the java-camel generator
OpenAPI declaration file content or url
The full test project including the OpenAPI spec and the generators configuration can be found at
https://github.com/kulon/code-samples/tree/main/openapi-generator-sample
The text was updated successfully, but these errors were encountered: