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指定します。

適用対象