Skip to content

Using AnyOf makes the OpenAPI generator server fail #148

@dgarijo

Description

@dgarijo

It looks like while AnyOf is supported by OpenAPI spec, it does not work well in the OpenAPI generator server we are using.

Solution:

  • Warn users of the types that are not going to be supported.
  • Create manually the missing union classes for the spec (but for data types it's difficult to know).
  • Use another server implementation where this works (e.g., Java). But this means we have to port all our code from Python to Java, which is not trivial.

Better solution: Open an issue in OpenAPI generator and wait until they fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions