OpenApiParameterRules.RequiredMustBeTrueWhenInIsPath 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.
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)