
ftl.APIDetailTmpl.ftl Maven / Gradle / Ivy
The newest version!
<#include "modifyHisTmpl.ftl">
<#include "paramTableTmpl.ftl">
☞ ${openAPI.qualifiedName}
<#if openAPI.description??>
描述
${openAPI.description}
#if>
访问路径
<#if openAPI.requestMapping.methodType??>
${openAPI.requestMapping.methodType}
#if>
<#if openAPI.authNeeded??>
<#if openAPI.authNeeded==1>
<#elseif openAPI.authNeeded==0>
#if>
#if>
<#if openAPI.requestMapping.url??>
${openAPI.requestMapping.url?html}
#if>
<#if openAPI.modificationHistory?? && (openAPI.modificationHistory.modificationRecordList?size != 0)>
修改历史
<@modifyHistoryMacro modificationRecordList=openAPI.modificationHistory.modificationRecordList />
#if>
请求
<#if openAPI.inParameters?? && (openAPI.inParameters?size != 0)>
<@reqParamTableMacro params=openAPI.inParameters />
<#else>
N/A
#if>
响应
<#if openAPI.returnCode?? && openAPI.returnCode != "">
响应码:${openAPI.returnCode}
#if>
<#if openAPI.outParameter?? >
<@resParamTableMacro param=openAPI.outParameter />
<#elseif openAPI.returnCode?? && openAPI.returnCode != "">
N/A
#if>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy