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エンドポイントの説明を指定します。

適用対象