+ {% for endpoint in endpoints %} +
+
+
{{ endpoint.summary or endpoint.description or 'Endpoint' }}
+
+ {{ endpoint.method }} + {{ endpoint.path }} +
+ {% if endpoint.deprecated %} + Deprecated + {% endif %} + {% if endpoint.tags %} +
+ {% for tag in endpoint.tags %} + {{ tag }} + {% endfor %} +
+ {% endif %} +
+ + {% if endpoint.description %} +
+

Description

+

{{ endpoint.description }}

+
+ {% endif %} + + {% if endpoint.parameters and endpoint.parameters|length > 0 %} +
+

Parameters

+ + + + + + + + + + + + {% for param in endpoint.parameters %} + + + + + + + + {% endfor %} + +
NameTypeLocationDescription
+ {{ param.name }} + {% if param.required %}*{% endif %} + {{ param.schema.type if param.schema else 'any' }}{{ param.in }}{{ param.description or '-' }}{% if param.required %}required{% endif %}
+
+ {% endif %} + + {% if endpoint.request_body %} +
+

Request Body

+
{{ endpoint.request_body|tojson(indent=2) }}
+
+ {% endif %} + +
+

Responses

+ {% for status, response in endpoint.responses.items() %} +
+ {% if status|startswith('2') %} + {{ status }} + {% elif status|startswith('4') %} + {{ status }} + {% elif status|startswith('5') %} + {{ status }} + {% else %} + {{ status }} + {% endif %} + {{ response.description if response.description else '' }} + {% if response.content and response.content.get('application/json') %} +
{{ response.content['application/json'].schema|tojson(indent=2) }}
+ {% endif %} +
+ {% endfor %} +
+
+
+ {% endfor %} +