update template for markdown
This commit is contained in:
parent
fa2e1efe1f
commit
59e9d574c1
|
@ -1,6 +1,6 @@
|
|||
<%if(isNotEmpty(revisionLogList)){%>
|
||||
Version | Update Time | Status | Author | Description
|
||||
------|--------|-----|------| -------
|
||||
------|--------|-----|------|-------
|
||||
<%
|
||||
for(revisionLog in revisionLogList){
|
||||
%>
|
||||
|
@ -37,9 +37,12 @@ ${doc.headers}
|
|||
|
||||
Parameter | Type|Description|Required|Since
|
||||
---|---|---|---|---
|
||||
${doc.requestParams}
|
||||
<%
|
||||
for(param in doc.requestParams){
|
||||
%>
|
||||
${param.field}|${param.type}|${param.desc}|${param.required}|${param.version}
|
||||
<%}%>
|
||||
<%}%>
|
||||
|
||||
<%if(isNotEmpty(doc.requestUsage)){%>
|
||||
**Request-example:**
|
||||
```
|
||||
|
@ -51,7 +54,11 @@ ${doc.requestUsage}
|
|||
|
||||
Field | Type|Description|Since
|
||||
---|---|---|---
|
||||
${doc.responseParams}
|
||||
<%
|
||||
for(param in doc.responseParams){
|
||||
%>
|
||||
${param.field}|${param.type}|${param.desc}|${param.version}
|
||||
<%}%>
|
||||
<%}%>
|
||||
|
||||
<%if(isNotEmpty(doc.responseUsage)){%>
|
||||
|
|
|
@ -21,9 +21,13 @@ ${doc.headers}
|
|||
<%if(isNotEmpty(doc.requestParams)){%>
|
||||
**Request-parameters:**
|
||||
|
||||
Parameter | Type|Description|Required|Since
|
||||
Parameter|Type|Description|Required|Since
|
||||
---|---|---|---|---
|
||||
${doc.requestParams}
|
||||
<%
|
||||
for(param in doc.requestParams){
|
||||
%>
|
||||
${param.field}|${param.type}|${param.desc}|${param.required}|${param.version}
|
||||
<%}%>
|
||||
<%}%>
|
||||
|
||||
<%if(isNotEmpty(doc.requestUsage)){%>
|
||||
|
@ -37,7 +41,11 @@ ${doc.requestUsage}
|
|||
|
||||
Field | Type|Description|Since
|
||||
---|---|---|---
|
||||
${doc.responseParams}
|
||||
<%
|
||||
for(param in doc.responseParams){
|
||||
%>
|
||||
${param.field}|${param.type}|${param.desc}|${param.version}
|
||||
<%}%>
|
||||
<%}%>
|
||||
|
||||
<%if(isNotEmpty(doc.responseUsage)){%>
|
||||
|
|
Loading…
Reference in New Issue