메소드 | 설명 | |
---|---|---|
ResponseTypeAttribute ( HttpStatusCode httpStatusCode, |
Initializes a new instance of the SwaggerResponseAttribute class.
|
|
ResponseTypeAttribute ( |
Initializes a new instance of the ResponseTypeAttribute class.
|
|
ResponseTypeAttribute ( int httpStatusCode, |
Initializes a new instance of the SwaggerResponseAttribute class.
|
|
ResponseTypeAttribute ( string httpStatusCode, |
Initializes a new instance of the ResponseTypeAttribute class.
|
public ResponseTypeAttribute ( HttpStatusCode httpStatusCode, |
||
httpStatusCode | HttpStatusCode | The HTTP status code for which the result type applies. |
responseType | The JSON result type of the MVC or Web API action method. | |
리턴 | System |
public ResponseTypeAttribute ( |
||
responseType | The JSON result type of the MVC or Web API action method. | |
리턴 | System |
public ResponseTypeAttribute ( int httpStatusCode, |
||
httpStatusCode | int | The HTTP status code for which the result type applies. |
responseType | The JSON result type of the MVC or Web API action method. | |
리턴 | System |
public ResponseTypeAttribute ( string httpStatusCode, |
||
httpStatusCode | string | The HTTP status code for which the result type applies. |
responseType | The JSON result type of the MVC or Web API action method. | |
리턴 | System |