OpenApiSchema.Discriminator Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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