Freigeben über


OpenApiParameterRules.RequiredMustBeTrueWhenInIsPath Property

Definition

Validate the "required" field is true when "in" is path.

public static Microsoft.OpenApi.ValidationRule<Microsoft.OpenApi.IOpenApiParameter> RequiredMustBeTrueWhenInIsPath { get; }
static member RequiredMustBeTrueWhenInIsPath : Microsoft.OpenApi.ValidationRule<Microsoft.OpenApi.IOpenApiParameter>
Public Shared ReadOnly Property RequiredMustBeTrueWhenInIsPath As ValidationRule(Of IOpenApiParameter)

Property Value

Applies to