update model description

Signed-off-by: soulseen <sunzhu@yunify.com>
This commit is contained in:
soulseen
2019-06-28 17:17:48 +08:00
parent 2b80b99c29
commit f14ff17b22
2 changed files with 140 additions and 125 deletions

View File

@@ -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")))