Skip to content

OpenApi: discriminator.mapping unsupported #287

@Jolanrensen

Description

@Jolanrensen

While discriminator in combination with oneOf/allOf is supported for propertyName, it appears that mapping is absent.

https://swagger.io/docs/specification/data-models/inheritance-and-polymorphism/

It needs to be checked whether this is needed and can be supported.

Used in this example: https://youtrack.jetbrains.com/api/openapi.json

Metadata

Metadata

Assignees

Labels

OpenAPIChanges related to OpenAPI, JSON (schema), etc.bugSomething isn't workingenhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions