This is an automated email from the ASF dual-hosted git repository.

mabin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-toolkit.git


The following commit(s) were added to refs/heads/master by this push:
     new 47e4569  SCB-1452 update README
     new 21f1f9a  Merge pull request #20 from kakulisen/update-readme
47e4569 is described below

commit 47e4569cf58d4657b6b2de4719cfe4da5cdd6995
Author: kakulisen <18813972...@163.com>
AuthorDate: Wed Aug 21 10:11:02 2019 +0800

    SCB-1452 update README
    
    Signed-off-by: kakulisen <18813972...@163.com>
---
 README-ZH.md | 6 ++++++
 README.md    | 5 +++++
 2 files changed, 11 insertions(+)

diff --git a/README-ZH.md b/README-ZH.md
index 3eadc62..f8e693e 100755
--- a/README-ZH.md
+++ b/README-ZH.md
@@ -163,6 +163,12 @@ mvn toolkit:verify
 mvn toolkit:generate
 ```
 
+代码生成契约现已支持以下注解(类级别)编写的restful接口
+>RestController, RestSchema, RpcSchema, RequestMapping
+
+代码生成契约时,restful接口方法修饰符必须指定为public
+
+
 #### 3.2.2.2 解析契约,生成微服务工程、文档
 
 配置项(不显式设置 `<configuration>` 则使用默认配置)
diff --git a/README.md b/README.md
index a2a4117..a7ea54e 100755
--- a/README.md
+++ b/README.md
@@ -162,6 +162,11 @@ Run in shell
 mvn toolkit:generate
 ```
 
+When generating contracts from code,support for identifying restful interfaces 
written by the following annotations (class level)
+>RestController, RestSchema, RpcSchema, RequestMapping
+
+When generating contracts from code,the restful interface method access 
modifier must be specified as public
+
 
 #### 3.2.2.2 Generate the microservice project and document from contract
 

Reply via email to