openapi-processor / openapi-processor-core

moved into openapi-processor-base
Apache License 2.0
7 stars 5 forks source link

`allOf` does not filter duplicate properties #85

Closed hauner closed 2 years ago

hauner commented 2 years ago

a schema with allOf and properties with the same name

  schema:
    allOf:
      - type: object
        properties:
          foo:
            type: string
      - type: object
        properties:
          foo:
            type: string

will generate a class with two foo properties

from: https://github.com/openapi-processor/openapi-processor-maven/issues/2

hauner commented 2 years ago

.. there are more issues hiding if foo has different types etc.