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 사양은 동작에 대한 자세한 다중 줄 설명자로 엔드포인트에 주석을 추가하는 데 사용할 수 있는 작업 및 매개 변수에 대한 설명 특성을 지원합니다.

생성자

EndpointDescriptionAttribute(String)

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

속성

Description

엔드포인트와 연결된 설명을 가져옵니다.

메서드

ToString()

의 엔드포인트 Metadata에 대한 설명을 지정합니다.

적용 대상