-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Open
Labels
Inline Schema HandlingSchema contains a complex schema in items/additionalProperties/allOf/oneOf/anyOfSchema contains a complex schema in items/additionalProperties/allOf/oneOf/anyOfIssue: Bug
Description
Description
I have created a swagger file openapi: 3.0.0
having Account and Contact as references in anyOf something like this:
anyOf:
- $ref: "#/components/schemas/Account"
- $ref: "#/components/schemas/Contact"
openapi-generator version
4.0.2
Steps to reproduce
After running mvn generate-sources
command swagger generates models in /target folder. The issue here is that swagger is not able to generate class AnyOfAccountContact
which it should be.
black-snow, mimkorn, anonmoto, fdventura, sfuhrm and 4 more
Metadata
Metadata
Assignees
Labels
Inline Schema HandlingSchema contains a complex schema in items/additionalProperties/allOf/oneOf/anyOfSchema contains a complex schema in items/additionalProperties/allOf/oneOf/anyOfIssue: Bug