TagsAttribute 클래스

정의

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
상속
TagsAttribute
특성
구현

설명

OpenAPI 사양은 관련 그룹으로 작업을 분류하는 태그 분류를 지원합니다. 이러한 태그는 일반적으로 생성된 사양에 포함되며 일반적으로 UI의 태그별로 작업을 그룹화하는 데 사용됩니다.

생성자

TagsAttribute(String[])

TagsAttribute의 인스턴스를 초기화합니다.

속성

Tags

엔드포인트와 연결된 태그의 컬렉션을 가져옵니다.

메서드

ToString()

Metadata태그 컬렉션을 지정합니다.

적용 대상