4 instantiations of EndpointDescriptionAttribute
Microsoft.AspNetCore.Http.Extensions.Tests (1)
MetadataTest.cs (1)
14var metadata = new EndpointDescriptionAttribute("A description");
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
EndpointMetadataApiDescriptionProviderTest.cs (1)
1461builder.MapGet("/api/todos/{id}", [EndpointSummary("A summary")][EndpointDescription("A description")] (int id) => "");
Microsoft.AspNetCore.OpenApi.Tests (1)
Services\OpenApiGeneratorTests.cs (1)
862[EndpointSummary("A summary")][EndpointDescription("A description")] (int id) => "");
Microsoft.AspNetCore.Routing (1)
Builder\OpenApiRouteHandlerBuilderExtensions.cs (1)
291=> builder.WithMetadata(new EndpointDescriptionAttribute(description));
4 references to EndpointDescriptionAttribute
Microsoft.AspNetCore.Http.Extensions (1)
EndpointDescriptionAttribute.cs (1)
21/// Initializes an instance of the <see cref="EndpointDescriptionAttribute"/>.
Microsoft.AspNetCore.Http.Extensions.Tests (1)
MetadataTest.cs (1)
14var metadata = new EndpointDescriptionAttribute("A description");
Microsoft.AspNetCore.Routing.Tests (2)
Builder\OpenApiRouteHandlerBuilderExtensionsTest.cs (2)
127var metadata = Assert.IsType<EndpointDescriptionAttribute>(Assert.Single(builder.Metadata));