未验证 提交 01f5fb5b 编写于 作者: R rayzhou2017 提交者: GitHub

Merge pull request #523 from soulseen/master

update model description
......@@ -719,7 +719,7 @@ Some encrypted fields, such as the password of the username password type creden
Metadata(restfulspec.KeyOpenAPITags, tags).
Doc("Get commit notification by HTTP GET method. Git webhook will request here.").
Produces("text/plain; charset=utf-8").
Param(webservice.QueryParameter("url", "url of git scm").
Param(webservice.QueryParameter("url", "url of git").
Required(true).
DataFormat("url=%s")))
......@@ -730,7 +730,7 @@ Some encrypted fields, such as the password of the username password type creden
Doc("Get commit notification by HTTP POST method. Git webhook will request here.").
Consumes("application/json").
Produces("text/plain; charset=utf-8").
Param(webservice.QueryParameter("url", "url of git scm").
Param(webservice.QueryParameter("url", "url of git").
Required(true).
DataFormat("url=%s")))
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册