diff --git a/RELEASE.md b/RELEASE.md index 21f650f..08394d9 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -70,5 +70,7 @@ - 更新日期:待定 - 更新内容: 1. 优化注释换行\n\r问题。 + 2. 修改bug #I135PG + 3. 添加requestHeader功能 \ No newline at end of file diff --git a/pom.xml b/pom.xml index cece3d6..7f837bf 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 smart-doc jar - 1.7.0 + 1.7.1 smart-doc https://github.com/shalousun/smart-doc.git @@ -59,7 +59,7 @@ com.github.shalousun common-util - 1.8.6 + 1.8.7 diff --git a/src/main/resources/template/AllInOne.btl b/src/main/resources/template/AllInOne.btl index 5a80725..bbc7d65 100644 --- a/src/main/resources/template/AllInOne.btl +++ b/src/main/resources/template/AllInOne.btl @@ -43,6 +43,7 @@ for(param in doc.requestParams){ ${param.field}|${param.type}|${param.desc}|${param.required}|${param.version} <%}%> <%}%> + <%if(isNotEmpty(doc.requestUsage)){%> **Request-example:** ```