1 implementation of IEndpointDescriptionMetadata
Microsoft.AspNetCore.Http.Extensions (1)
EndpointDescriptionAttribute.cs (1)
18
public sealed class EndpointDescriptionAttribute : Attribute,
IEndpointDescriptionMetadata
7 references to IEndpointDescriptionMetadata
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (4)
EndpointMetadataApiDescriptionProviderTest.cs (4)
1448
var
descriptionMetadata = apiDescription.ActionDescriptor.EndpointMetadata.OfType<
IEndpointDescriptionMetadata
>().SingleOrDefault();
1479
var
descriptionMetadata = apiDescription.ActionDescriptor.EndpointMetadata.OfType<
IEndpointDescriptionMetadata
>().SingleOrDefault();
Microsoft.AspNetCore.OpenApi (2)
Services\OpenApiDocumentService.cs (1)
301
=> description.ActionDescriptor.EndpointMetadata.OfType<
IEndpointDescriptionMetadata
>().LastOrDefault()?.Description;
Services\OpenApiGenerator.cs (1)
79
Description = metadata.GetMetadata<
IEndpointDescriptionMetadata
>()?.Description,
Microsoft.AspNetCore.Routing (1)
Builder\OpenApiRouteHandlerBuilderExtensions.cs (1)
284
/// Adds <see cref="
IEndpointDescriptionMetadata
"/> to <see cref="EndpointBuilder.Metadata"/> for all endpoints