mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-16 22:53:22 +00:00
8 lines
270 B
Django/Jinja
8 lines
270 B
Django/Jinja
{%- if route.return_type == 'struct' -%}
|
|
__Response:__
|
|
{%- for member in route.return_struct_members -%}
|
|
<br>{{ " "|safe*4 }}* {{ member.name }}: `{{ member.type }}`
|
|
{%- endfor -%}
|
|
{%- elif route.return_type -%}
|
|
__Response:__ `{{ route.return_type }}`
|
|
{%- endif -%} |