|
|
|
|
@ -55,7 +55,7 @@ The following arguments are supported:
|
|
|
|
|
* `http_method` - (Required) The HTTP Method (`GET`, `POST`, `PUT`, `DELETE`, `HEAD`, `OPTION`)
|
|
|
|
|
* `status_code` - (Required) The HTTP status code
|
|
|
|
|
* `response_models` - (Optional) A map of the API models used for the response's content type
|
|
|
|
|
* `response_parameters` - (Optional) Response parameters that can be sent to the caller
|
|
|
|
|
* `response_parameters` - (Optional) A map of response parameters that can be sent to the caller.
|
|
|
|
|
For example: `response_parameters = { "method.response.header.X-Some-Header" = true }`
|
|
|
|
|
would define that the header X-Some-Header can be provided on the response.
|
|
|
|
|
would define that the header `X-Some-Header` can be provided on the response.
|
|
|
|
|
* `response_parameters_in_json` - **Deprecated**, use `response_parameters` instead.
|
|
|
|
|
|