{{ http_method |> upper }}
{{ endpoint_path }}
{% if summary %}
{{ summary }}
{{ operation_id }}
Request Body
{% if req_body?.description %}{{ req_body.description }}
Responses
{% cache 'openapi-responses-' ~ endpoint_path ~ '-' ~ http_method %}| Status | Description | Content Type |
|---|---|---|
{{ status_code }}
|
{{ response?.description ?? t('api.no_description', default='No description') }} |
{% with response?.content as content %}
{% if content %}
{% spaceless %}
{% for content_type in content |> keys %}
{{ content_type }}{% if not loop.last %}, {% end %}
{% end %}
{% end %}
{% else %}
—
{% end %}
{% end %}
|