TagsAttribute Class

Definition

Specifies a collection of tags in Metadata.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Delegate | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public sealed class TagsAttribute : Attribute, Microsoft.AspNetCore.Http.Metadata.ITagsMetadata
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Delegate | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)>]
type TagsAttribute = class
    inherit Attribute
    interface ITagsMetadata
Public NotInheritable Class TagsAttribute
Inherits Attribute
Implements ITagsMetadata
Inheritance
TagsAttribute
Attributes
Implements

Remarks

The OpenAPI specification supports a tags classification to categorize operations into related groups. These tags are typically included in the generated specification and are typically used to group operations by tags in the UI.

Constructors

TagsAttribute(String[])

Initializes an instance of the TagsAttribute.

Properties

Tags

Gets the collection of tags associated with the endpoint.

Methods

ToString() System.Attribute.ToString

Applies to