Files
xrpl-dev-portal/tool/openapi_templates_alpha/template-openapi_endpoint_toc.md
2020-07-24 03:28:02 -07:00

1.4 KiB

{{info.title}} {{info.version}} Methods

{{info.description}}

Warning: {{spec.info.title}} is early alpha software. API methods and data formats are likely to change often in ways that break backwards compatibility.

{% if tags %} View API methods by category:

{% for tag in tags %}

{% for tag in tags %} {% if endpoints_by_tag(tag.name)|list|length %}

{{tag.name|title}} Methods

{{tag.description}}

Summary Path
{%- set reflinks = [] -%}
{%- for path,method,endpoint in endpoints_by_tag(tag.name) %}
{%- set _ = reflinks.append("["+endpoint.summary+"]: "+method_link(path, method, endpoint) ) %}
[{{endpoint.summary}}][] [`{{method
{%- endfor %}

{% for reflink in reflinks -%} {{reflink}} {% endfor %}

{% endif %} {% endfor %}

{% if endpoints_by_tag("Uncategorized")|list|length %}

Uncategorized Methods

Name Path Summary
{%- set reflinks = [] -%}
{%- for path,method,endpoint in endpoints_by_tag("Uncategorized") %}
{%- set _ = reflinks.append("["+endpoint.operationId+"]: "+method_link(path, method, endpoint) ) %}
[{{endpoint.operationId}}][] [`{{method upper}} {{path}}`][{{endpoint.operationId}}]
{%- endfor %}

{% for reflink in reflinks -%} {{reflink}} {% endfor %}

{% endif %}