Метод | Описание | |
---|---|---|
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 |