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

8 lines
290 B
Plaintext
Raw Normal View History

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