EndpointDescriptionAttribute クラス

定義

Metadataエンドポイントの説明を指定します。

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public sealed class EndpointDescriptionAttribute : Attribute, Microsoft.AspNetCore.Http.Metadata.IEndpointDescriptionMetadata
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)>]
type EndpointDescriptionAttribute = class
    inherit Attribute
    interface IEndpointDescriptionMetadata
Public NotInheritable Class EndpointDescriptionAttribute
Inherits Attribute
Implements IEndpointDescriptionMetadata
継承
EndpointDescriptionAttribute
属性
実装

注釈

OpenAPI 仕様では、動作の詳細な複数行記述子を使用してエンドポイントに注釈を付けるために使用できる操作とパラメーターに関する description 属性がサポートされています。

コンストラクター

名前 説明
EndpointDescriptionAttribute(String)

EndpointDescriptionAttribute のインスタンスを初期化します。

プロパティ

名前 説明
Description

エンドポイントに関連付けられている説明を取得します。

メソッド

名前 説明
ToString()

Metadataエンドポイントの説明を指定します。

適用対象