{{doc.title}}

%if doc.description:
{{markdown(doc.description, escape=False)}}
%endif

%if language == 'zh': 接口目录: %else: Contents %endif


%for note in doc.notes:
%if note.title:

{{note.title}}

%endif

{{markdown(note.content, escape=False)}}

%endfor %if doc.notes:
%endif %for api in doc.apis:

{{api.title}}

%if api.url: %endif %if api.from_md:
{{markdown(api.from_md, escape=False)}}
%else: %if api.description:
{{markdown(api.description, escape=False)}}
%endif %if api.path_params: %if language == 'zh': %else: %endif %for param in api.path_params: %endfor
Path 参数 类型 描述 必须 默认值 示例Path Parameters Type Description Required Default Example
{{param.name}} {{param.type}} {{param.description}} {{param.required_svg}} {{param.default}} {{param.example}}
%endif %if api.query_params: %if language == 'zh': %else: %endif %for param in api.query_params: %endfor
Query 参数 类型 描述 必须 默认值 示例Query Parameters Type Description Required Default Example
{{param.name}} {{param.type}} {{param.description}} {{param.required_svg}} {{param.default}} {{param.example}}
%endif %if api.body_params: %if language == 'zh': %else: %endif %for param in api.body_params: %endfor
Body 参数 类型 描述 必须 默认值 示例Body Parameters Type Description Required Default Example
{{param.name}} {{param.type}} {{param.description}} {{param.required_svg}} {{param.default}} {{param.example}}
%if api.content_types:

%if language == 'zh': 传参可用的 %else: Body %endif Content-Type: %for t in api.content_types:   {{t}} %endfor

%endif %endif %if api.body_example:

%if language == 'zh': 示例请求数据: %else: Request Body Example: %endif

{{api.body_example.strip()}}
%endif %if api.response_description:

%if language == 'zh': 返回结果说明: %else: Response Description: %endif

{{markdown(api.response_description, escape=False)}} %endif %if api.response_example:

%if language == 'zh': 示例返回结果: %else: Response Example: %endif

{{api.response_example.strip()}}
%endif %if api.tips:
{{markdown(api.tips, escape=False)}}
%endif %endif
%endfor %if doc.ending:

{{markdown(doc.ending, escape=False)}}


%endif