OpenApiResponsesRules.ResponsesMustBeIdentifiedByDefaultOrStatusCode 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.
The response key must either be "default" or an HTTP status code (1xx, 2xx, 3xx, 4xx, 5xx).
public static Microsoft.OpenApi.ValidationRule<Microsoft.OpenApi.OpenApiResponses> ResponsesMustBeIdentifiedByDefaultOrStatusCode { get; }
static member ResponsesMustBeIdentifiedByDefaultOrStatusCode : Microsoft.OpenApi.ValidationRule<Microsoft.OpenApi.OpenApiResponses>
Public Shared ReadOnly Property ResponsesMustBeIdentifiedByDefaultOrStatusCode As ValidationRule(Of OpenApiResponses)