qmk_firmware/data/templates/xap/docs/route_request.md.j2

8 lines
292 B
Text
Raw Normal View History

2022-05-26 17:22:54 +00:00
{%- if subroute.request_type == 'struct' -%}
<br>__Request:__
{%- for member in subroute.request_struct_members -%}
<br>{{ "&nbsp;"|safe*4 }}* {{ member.name }}: `{{ member.type }}`
{%- endfor -%}
{%- elif subroute.request_type -%}
<br>__Request:__ `{{ subroute.request_type }}`
{%- endif -%}