5 references to MinLengthKeyword
Microsoft.AspNetCore.OpenApi (5)
Extensions\JsonNodeSchemaExtensions.cs (4)
106
var targetKey = schema[OpenApiSchemaKeywords.TypeKeyword]?.GetValue<string>() == "array" ? OpenApiSchemaKeywords.MinItemsKeyword : OpenApiSchemaKeywords.
MinLengthKeyword
;
122
schema[OpenApiSchemaKeywords.
MinLengthKeyword
] = stringLengthAttribute.MinimumLength;
208
schema[OpenApiSchemaKeywords.
MinLengthKeyword
] = minLengthRouteConstraint.MinLength;
227
schema[OpenApiSchemaKeywords.
MinLengthKeyword
] = lengthRouteConstraint.MinLength;
Schemas\OpenApiJsonSchema.Helpers.cs (1)
241
case OpenApiSchemaKeywords.
MinLengthKeyword
: