Skip to content

Add support for the defaultMapping property in the discriminator object #3

@baywet

Description

@baywet

OAI 3.2.0 defines a new default mapping property for the discriminator object.

We should add this property, (type OpenAPISchemaReference), implement serialization, deserialization for it in 3.2.0.

In 3.1.0 and earlier version, any value there should be serialized to an x-oas-default-mapping extension value instead.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions