Fix:deploy application api return value (#3358)

This commit is contained in:
old prince
2022-03-03 18:27:13 +08:00
committed by GitHub
parent 1cb4426e4b
commit 91c6458f35
+2 -1
View File
@@ -157,7 +157,8 @@ func (c *applicationWebService) GetWebService() *restful.WebService {
Metadata(restfulspec.KeyOpenAPITags, tags).
Filter(c.appCheckFilter).
Param(ws.PathParameter("name", "identifier of the application ").DataType("string")).
Returns(200, "", apis.ApplicationDeployRequest{}).
Reads(apis.ApplicationDeployRequest{}).
Returns(200, "", apis.ApplicationDeployResponse{}).
Returns(400, "", bcode.Bcode{}).
Writes(apis.ApplicationDeployResponse{}))