1 implementation of IEndpointSummaryMetadata
Microsoft.AspNetCore.Http.Extensions (1)
EndpointSummaryAttribute.cs (1)
15
public sealed class EndpointSummaryAttribute : Attribute,
IEndpointSummaryMetadata
7 references to IEndpointSummaryMetadata
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (4)
EndpointMetadataApiDescriptionProviderTest.cs (4)
1452
var
summaryMetadata = apiDescription.ActionDescriptor.EndpointMetadata.OfType<
IEndpointSummaryMetadata
>().SingleOrDefault();
1483
var
summaryMetadata = apiDescription.ActionDescriptor.EndpointMetadata.OfType<
IEndpointSummaryMetadata
>().SingleOrDefault();
Microsoft.AspNetCore.OpenApi (2)
Services\OpenApiDocumentService.cs (1)
298
=> description.ActionDescriptor.EndpointMetadata.OfType<
IEndpointSummaryMetadata
>().LastOrDefault()?.Summary;
Services\OpenApiGenerator.cs (1)
78
Summary = metadata.GetMetadata<
IEndpointSummaryMetadata
>()?.Summary,
Microsoft.AspNetCore.Routing (1)
Builder\OpenApiRouteHandlerBuilderExtensions.cs (1)
294
/// Adds <see cref="
IEndpointSummaryMetadata
"/> to <see cref="EndpointBuilder.Metadata"/> for all endpoints