1 implementation of ITagsMetadata
Microsoft.AspNetCore.Http.Extensions (1)
TagsAttribute.cs (1)
20
public sealed class TagsAttribute : Attribute,
ITagsMetadata
8 references to ITagsMetadata
Microsoft.AspNetCore.OpenApi (3)
Services\OpenApiDocumentService.cs (1)
310
if (actionDescriptor.EndpointMetadata?.OfType<
ITagsMetadata
>().LastOrDefault() is { } tagsMetadata)
Services\OpenApiGenerator.cs (2)
327
var metadataList = metadata.GetOrderedMetadata<
ITagsMetadata
>();
333
foreach (
var
metadataItem in metadataList)
Microsoft.AspNetCore.Routing (2)
Builder\OpenApiRouteHandlerBuilderExtensions.cs (2)
179
/// Adds the <see cref="
ITagsMetadata
"/> to <see cref="EndpointBuilder.Metadata"/> for all endpoints
194
/// Adds the <see cref="
ITagsMetadata
"/> to <see cref="EndpointBuilder.Metadata"/> for all endpoints
Microsoft.AspNetCore.Routing.Tests (2)
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (2)
782
var
tagsMetadata = endpoint.Metadata.GetMetadata<
ITagsMetadata
>();
MinimalSample (1)
Program.cs (1)
33
tags ??= endpoint?.Metadata.GetMetadata<
ITagsMetadata
>()?.Tags ?? Array.Empty<string>();