11 instantiations of LengthAttribute
Microsoft.AspNetCore.OpenApi.Tests (7)
Services\OpenApiSchemaService\OpenApiSchemaService.ParameterSchemas.cs (1)
337[([Length(4, 8)] int[] id) => {}, (OpenApiSchema schema) => { Assert.Equal(4, schema.MinItems); Assert.Equal(8, schema.MaxItems); }],
Services\OpenApiSchemaService\OpenApiSchemaService.PropertySchemas.cs (4)
731[Length(2, 8)] 733[Length(2, 8)] 735[Length(1, 4)] 737[Length(1, 4)]
Shared\SharedTypes.cs (2)
191[Length(5, 10)] 202[Length(5, 10)]
Microsoft.Extensions.AI.Abstractions.Tests (2)
Utilities\AIJsonUtilitiesTests.cs (2)
967[Length(3, 10)] 970[Length(1, 4)]
Sample (2)
src\OpenApi\test\Microsoft.AspNetCore.OpenApi.Tests\Shared\SharedTypes.cs (2)
191[Length(5, 10)] 202[Length(5, 10)]
1 reference to LengthAttribute
Microsoft.AspNetCore.OpenApi (1)
Extensions\JsonNodeSchemaExtensions.cs (1)
146else if (attribute is LengthAttribute lengthAttribute)