[BUG] OpenAPI 4.0.2 not able to generate anyOf models.
Created by: charmygarg
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.