{{/* Render the response part of a single HTTP API operation, given: * `responses`: OpenAPI/Swagger data specifying the responses * `path`: the path where this definition was found, to enable us to resolve "$ref" This template renders: * a summary of all the different responses * details of the body for each response code * body parameters, which may be more complex, containing nested objects * response body examples */}} {{ $responses := .responses }} {{ $path := .path }}
Status | Description | {{ range $code, $response := $responses }}
---|---|
{{ $code }} |
{{ $response.description | markdownify }} |
Array of {{ $type_of }}
.