jskov / openapi-jaxrs-client

An OpenAPI JAX-RS client code generator
Apache License 2.0
1 stars 4 forks source link

Handle fields with undeclared (assumed Object) type #439

Closed jskov closed 1 year ago

jskov commented 1 year ago

bpm motor contains at least one type with fields that have no declared type.

Swagger editor treats these as (plain) Object.

Add option to allow same behavior - but disabled by default. Fail in parsing if this is seen and the option is disabled.

    AendringElement:
      required:
      - aendring
      type: object
      properties:
        aendring:
          description: Ændring som beskrevet i KRO API
          type: string
        oprindelig:
          description: Oprindelig værdi
        ny:
          description: Ønsket værdi
        valueType:
          description: Værdiens tekniske type (JAVA)
          type: string