I've identified two issues in the OpenAPI schema that cause problems when generating client code with openapi-generator-maven-plugin:
Issue 1: Missing allOf in Child Schema Definitions
Child schemas that inherit from parent schemas are missing the allOf property to properly define inheritance relationships.
Issue 2: Incorrect Mixing of allOf and oneOf in Vehicle.requiredArea
The requiredArea property in the Vehicle schema incorrectly combines both allOf and oneOf, which causes ambiguous type definitions.
Since Polygon and MultiPolygon already extend/implement GeoJsonGeometry, the allOf reference is redundant and creates conflicts. Only oneOf should be used here to indicate that the field accepts either type.
Screenshots: in the screenshots you can find a possible solution and the location of the issues.
Screenshot 1: Missing allOf in BreakPlan
Screenshot 2: Incorrect allOf + oneOf mixing in Vehicle.requiredArea
Screenshot 3: Missing allOf in VisitPlan
Impact:
These issues prevent proper code generation and cause the OpenAPI generator to create incorrect or incomplete model classes.
Thanks for your support