1 implementation of ITagsMetadata
Microsoft.AspNetCore.Http.Extensions (1)
TagsAttribute.cs (1)
20public sealed class TagsAttribute : Attribute, ITagsMetadata
8 references to ITagsMetadata
Microsoft.AspNetCore.OpenApi (3)
Services\OpenApiDocumentService.cs (1)
310if (actionDescriptor.EndpointMetadata?.OfType<ITagsMetadata>().LastOrDefault() is { } tagsMetadata)
Services\OpenApiGenerator.cs (2)
327var metadataList = metadata.GetOrderedMetadata<ITagsMetadata>(); 333foreach (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)
782var tagsMetadata = endpoint.Metadata.GetMetadata<ITagsMetadata>();
MinimalSample (1)
Program.cs (1)
33tags ??= endpoint?.Metadata.GetMetadata<ITagsMetadata>()?.Tags ?? Array.Empty<string>();