错误码
{% for err_code in err_codes %} {{ err_code.tag }} = {{ err_code.code }}; // {{ err_code.message }}{% endfor %}
返回格式
{{ ret_sample_data | to_json(indent=4, ensure_ascii=False) }}
接口列表
{% for api in api_list %}
{% for api in api_list %}
{{ api.name }}
{% endfor %}
{{ api.name }}
请求地址{{ api.path }}
{{ api.support_methods | join(' ') }}
参数 | 名称 | 类型 | 是否必填 | 默认值 | 说明 | 限制 |
---|---|---|---|---|---|---|
{% if info.required %} *{{ name }}* {% else %} [{{ name }}] {% endif %} | {% for key in ('description', 'type', 'required', 'default', 'help_text', 'ex_info') %}{{ info.get(key, '') }} | {% endfor %}
返回格式说明
{% endif %}
{{ api.return_sample | to_json(indent=4, ensure_ascii=False) }}