diff --git a/src/main/resources/template/AllInOne.html b/src/main/resources/template/AllInOne.html index 490a48d..06b8553 100644 --- a/src/main/resources/template/AllInOne.html +++ b/src/main/resources/template/AllInOne.html @@ -15,7 +15,6 @@
@@ -42,33 +38,15 @@
- - - - - - - + - - - - - - - + <% for(revisionLog in revisionLogList){ %> - - - - - - - + <%}%>
VersionUpdate TimeStatusAuthorDescription
VersionUpdate TimeStatusAuthorDescription

${revisionLog.version}

${revisionLog.revisionTime}

${revisionLog.status}

${revisionLog.author}

${revisionLog.remarks}

${revisionLog.version}

${revisionLog.revisionTime}

${revisionLog.status}

${revisionLog.author}

${revisionLog.remarks}

@@ -89,145 +67,72 @@

${api.order}.${doc.order} ${doc.desc}

-
-

URL: ${doc.url} -

-
-
-

Type: ${doc.type}

-
-
-

Content-Type: ${doc.contentType}

-
+ +

Type: ${doc.type}

+

Content-Type: ${doc.contentType}

<%if(isNotEmpty(doc.requestHeaders)){%> -
-

Request-headers:

-
+

Request-headers:

- - - - - - - + - - - - - - - + <% for(header in doc.requestHeaders){ %> - - - - - - + <%}%>
HeaderTypeDescriptionRequiredSince
HeaderTypeDescriptionRequiredSince

${header.name}

${header.type}

${header.desc}

${header.required}

${header.since}

${header.name}

${header.type}

${header.desc}

${header.required}

${header.since}

<%}%> <%if(isNotEmpty(doc.requestParams)){%> -
-

Request-parameters:

-
+

Request-parameters:

- - - - - - + - - - - - - + <% for(param in doc.requestParams){ %> - - - - - - - + <%}%>
ParameterTypeDescriptionRequiredSince
ParameterTypeDescriptionRequiredSince

${param.field}

${param.type}

${param.desc}

${param.required}

${param.version}

${param.field}

${param.type}

${param.desc}

${param.required}

${param.version}

<%}%> <%if(isNotEmpty(doc.requestUsage)){%> -
-

Request-example:

-
-
-
-
${doc.requestUsage}
-
-
+

Request-example:

+
${doc.requestUsage}
<%}%> <%if(isNotEmpty(doc.responseParams)){%> -
-

Response-fields:

-
+

Response-fields:

- - - - - - + - - - - - + <% for(param in doc.responseParams){ %> - - - - - - + <%}%>
FieldTypeDescriptionSince
FieldTypeDescriptionSince

${param.field}

${param.type}

${param.desc}

${param.version}

${param.field}

${param.type}

${param.desc}

${param.version}

<%}%> <%if(isNotEmpty(doc.responseUsage)){%> -
-

Response-example:

-
-
-
-
${doc.responseUsage}
-
-
+

Response-example:

+
${doc.responseUsage}
<%}%>
<%}%>
-
<%}%> <%if(isNotEmpty(errorCodeList)){%> @@ -235,24 +140,15 @@

${apiDocList.~size+1}. Error code list

- - - - + - - - - + <% for(error in errorCodeList){ %> - - - - + <%}%>
Error codeDescription
Error codeDescription

${error.value}

${error.desc}

${error.value}

${error.desc}