Skip to content

[I] OpenAPI3Discriminator

Selects among alternative payload schemas using a property value; does not replace schema validation.

[key: `x-${string}`]: any
PropertyTypeDescription
mapping?Record<string, string>Explicit mapping from discriminator values to schema names or references.
propertyNamestringPayload property whose value identifies the applicable schema.