C# 클래스 NSwag.Annotations.SwaggerResponseAttribute

상속: System.Attribute
파일 보기 프로젝트 열기: NSwag/NSwag

공개 메소드들

메소드 설명
SwaggerResponseAttribute ( HttpStatusCode httpStatusCode, Type responseType ) : System

Initializes a new instance of the SwaggerResponseAttribute class.

SwaggerResponseAttribute ( Type responseType ) : System

Initializes a new instance of the SwaggerResponseAttribute class.

SwaggerResponseAttribute ( int httpStatusCode, Type responseType ) : System

Initializes a new instance of the SwaggerResponseAttribute class.

SwaggerResponseAttribute ( string httpStatusCode, Type responseType ) : System

Initializes a new instance of the SwaggerResponseAttribute class.

메소드 상세

SwaggerResponseAttribute() 공개 메소드

Initializes a new instance of the SwaggerResponseAttribute class.
public SwaggerResponseAttribute ( HttpStatusCode httpStatusCode, Type responseType ) : System
httpStatusCode HttpStatusCode The HTTP status code for which the result type applies.
responseType System.Type The JSON result type of the MVC or Web API action method.
리턴 System

SwaggerResponseAttribute() 공개 메소드

Initializes a new instance of the SwaggerResponseAttribute class.
public SwaggerResponseAttribute ( Type responseType ) : System
responseType System.Type The JSON result type of the MVC or Web API action method.
리턴 System

SwaggerResponseAttribute() 공개 메소드

Initializes a new instance of the SwaggerResponseAttribute class.
public SwaggerResponseAttribute ( int httpStatusCode, Type responseType ) : System
httpStatusCode int The HTTP status code for which the result type applies.
responseType System.Type The JSON result type of the MVC or Web API action method.
리턴 System

SwaggerResponseAttribute() 공개 메소드

Initializes a new instance of the SwaggerResponseAttribute class.
public SwaggerResponseAttribute ( string httpStatusCode, Type responseType ) : System
httpStatusCode string The HTTP status code for which the result type applies.
responseType System.Type The JSON result type of the MVC or Web API action method.
리턴 System