Java enums are not generated correctly with anyOf
Created by: srividhyak27
Using openapi-generator-maven-plugin 3.1.2
EventType:
anyOf:
- type: string
enum:
- "A"
- "B"
- "C"
- "D"
- type: string
Enum is generated as a class EventType and contains only the basic equals, toString and hashCode methods. The values not not available in the class.