Share via


OpenApiParameter.Required Property

Definition

Determines whether this parameter is mandatory. If the parameter location is "path", this property is REQUIRED and its value MUST be true. Otherwise, the property MAY be included and its default value is false.

public bool Required { get; set; }
member this.Required : bool with get, set
Public Property Required As Boolean

Property Value

Applies to