{% if docstring %}
Docstring:
{{ docstring }}
{% endif %}
Request:
{%- for cap in captions -%}
{{ cap[0] }} {{ cap[1] }}
{%- endfor -%}
{% if req_headlines %}
Request line and headers:
{%- for line in req_headlines -%}
{{ line }}
{%- endfor -%}
{% endif %}
{% if req %}
Request Payload:
{% if req.__class__ == 'str' %}
{{ req }}
{% else %}
{{ req | tojson(indent=4) }}
{% endif %}
{% endif %}
{% if jsonschema %}
Request Payload JSON Schema:
{{ jsonschema | tojson(indent=4) }}
{% endif %}
{% if resp %}
Response:
{{ resp | tojson(indent=4) }}
{% endif %}
{% if images %}
{% for url in images %}
{% endfor %}
{% endif %}
{% if external %}
External:
{{ external }}
{% endif %}