From d3b9e9c84d884b6c349b5803a72724db90f0e164 Mon Sep 17 00:00:00 2001 From: oppofind <836575280@qq.com> Date: Sun, 25 Apr 2021 21:37:32 +0800 Subject: [PATCH] update README.md and README_CN.md --- README.md | 3 +++ README_CN.md | 3 +++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index ea44f3a..07722c0 100644 --- a/README.md +++ b/README.md @@ -169,6 +169,9 @@ When you need to use smart-doc to generate more API document information, you ca "responseBodyAdvice":{ //Support ResponseBodyAdvice "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 "requestHeaders": [{// Set global request headers, no need to set "name": "token", diff --git a/README_CN.md b/README_CN.md index ccfb1ac..f7800bf 100644 --- a/README_CN.md +++ b/README_CN.md @@ -189,6 +189,9 @@ smart-doc官方目前已经开发完成[Maven插件](https://gitee.com/smart-doc "responseBodyAdvice":{ //自smart-doc 1.9.8起,ResponseBodyAdvice统一返回设置,可用ignoreResponseBodyAdvice tag来忽略 "className":"com.power.common.model.CommonResult" //通用响应体 }, + "requestBodyAdvice":{ ////自smart-doc 2.1.4 起,支持设置RequestBodyAdvice统一请求包装类 + "className":"com.power.common.model.CommonResult" + }, "sourceCodePaths": [{ //设置代码路径, 插件已经能够自动下载发布的源码包,没必要配置 "path": "src/main/java", "desc": "测试"