2022-05-22 15:01:37 +00:00
|
|
|
{%- for id, route in xap.routes | dictsort %}
|
|
|
|
### {{ route.name }} - `{{ id }}`
|
|
|
|
{{ route.description }}
|
|
|
|
|
|
|
|
{% if route.routes %}
|
2022-05-26 17:22:54 +00:00
|
|
|
| Name | Route | Tags | Payloads | Description |
|
|
|
|
| -- | -- | -- | -- | -- |
|
2022-05-22 15:01:37 +00:00
|
|
|
{%- for subid, subroute in route.routes | dictsort %}
|
2022-09-26 00:09:15 +00:00
|
|
|
{%- if not subroute.routes %}
|
|
|
|
{%- with route=subroute %}
|
2022-06-23 23:04:08 +00:00
|
|
|
| {{ subroute.name }} | `{{ id }} {{ subid }}` | {% if 'secure' == subroute.permissions %}__Secure__{% endif %} | {%- include 'route_request.md.j2' -%}{%- if subroute.return_type and subroute.request_type -%}<br><br>{% endif %}{%- include 'route_response.md.j2' -%} | {{ subroute.description.replace('\n', '<br>') }}|
|
2022-09-26 00:09:15 +00:00
|
|
|
{%- endwith %}
|
|
|
|
{%- endif %}
|
|
|
|
{%- endfor %}
|
|
|
|
|
|
|
|
{%- for subid, subroute in route.routes | dictsort %}
|
|
|
|
{%- if subroute.routes %}
|
|
|
|
|
|
|
|
#### {{ subroute.name }} - `{{ id }} {{ subid }}`
|
|
|
|
{{ subroute.description }}
|
|
|
|
|
|
|
|
| Name | Route | Tags | Payloads | Description |
|
|
|
|
| -- | -- | -- | -- | -- |
|
|
|
|
{%- for subsubid, subsubroute in subroute.routes | dictsort %}
|
|
|
|
{%- if not subsubroute.routes %}
|
|
|
|
{%- with route=subsubroute %}
|
|
|
|
| {{ subsubroute.name }} | `{{ id }} {{ subid }} {{ subsubid }}` | {% if 'secure' == subsubroute.permissions %}__Secure__{% endif %} | {%- include 'route_request.md.j2' -%}{%- if subsubroute.return_type and subsubroute.request_type -%}<br><br>{% endif %}{%- include 'route_response.md.j2' -%} | {{ subsubroute.description.replace('\n', '<br>') }}|
|
|
|
|
{%- endwith %}
|
|
|
|
{%- endif %}
|
|
|
|
{%- endfor %}
|
|
|
|
{%- endif %}
|
2022-05-22 15:01:37 +00:00
|
|
|
{%- endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{%- endfor %}
|