Share via


OpenApiDiscriminator.DefaultMapping Property

Definition

OAI 3.2.0: The schema name or URI reference to a schema that is expected to validate the structure of the model when the discriminating property is not present in the payload or contains a value for which there is no explicit or implicit mapping.

public Microsoft.OpenApi.OpenApiSchemaReference? DefaultMapping { get; set; }
member this.DefaultMapping : Microsoft.OpenApi.OpenApiSchemaReference with get, set
Public Property DefaultMapping As OpenApiSchemaReference

Property Value

Applies to