Merge remote-tracking branch 'origin/dev'

This commit is contained in:
oppofind 2021-04-25 21:55:53 +08:00
commit 9cc28b21e6
3 changed files with 7 additions and 1 deletions

View File

@ -169,6 +169,9 @@ When you need to use smart-doc to generate more API document information, you ca
"responseBodyAdvice":{ //Support ResponseBodyAdvice "responseBodyAdvice":{ //Support ResponseBodyAdvice
"className":"com.power.common.model.CommonResult" // Standard POJO for Response "className":"com.power.common.model.CommonResult" // Standard POJO for Response
}, },
"requestBodyAdvice":{ //Support ResponseBodyAdvice
"className":"com.power.common.model.CommonResult" // Standard POJO for Request
},
"rpcConsumerConfig": "src/main/resources/consumer-example.conf",//dubbo consumer config example "rpcConsumerConfig": "src/main/resources/consumer-example.conf",//dubbo consumer config example
"requestHeaders": [{// Set global request headers, no need to set "requestHeaders": [{// Set global request headers, no need to set
"name": "token", "name": "token",

View File

@ -189,6 +189,9 @@ smart-doc官方目前已经开发完成[Maven插件](https://gitee.com/smart-doc
"responseBodyAdvice":{ //自smart-doc 1.9.8起ResponseBodyAdvice统一返回设置可用ignoreResponseBodyAdvice tag来忽略 "responseBodyAdvice":{ //自smart-doc 1.9.8起ResponseBodyAdvice统一返回设置可用ignoreResponseBodyAdvice tag来忽略
"className":"com.power.common.model.CommonResult" //通用响应体 "className":"com.power.common.model.CommonResult" //通用响应体
}, },
"requestBodyAdvice":{ ////自smart-doc 2.1.4 起支持设置RequestBodyAdvice统一请求包装类
"className":"com.power.common.model.CommonResult"
},
"sourceCodePaths": [{ //设置代码路径, 插件已经能够自动下载发布的源码包,没必要配置 "sourceCodePaths": [{ //设置代码路径, 插件已经能够自动下载发布的源码包,没必要配置
"path": "src/main/java", "path": "src/main/java",
"desc": "测试" "desc": "测试"

View File

@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>smart-doc</artifactId> <artifactId>smart-doc</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<version>2.1.3</version> <version>2.1.4</version>
<name>smart-doc</name> <name>smart-doc</name>
<url>https://github.com/smart-doc-group/smart-doc.git</url> <url>https://github.com/smart-doc-group/smart-doc.git</url>