Share via


OpenApiSchema.Discriminator Property

Definition

Adds support for polymorphism. The discriminator is an object name that is used to differentiate between other schemas which may satisfy the payload description.

public Microsoft.OpenApi.Models.OpenApiDiscriminator Discriminator { get; set; }
member this.Discriminator : Microsoft.OpenApi.Models.OpenApiDiscriminator with get, set
Public Property Discriminator As OpenApiDiscriminator

Property Value

Applies to