Skip to content

Commit

Permalink
Merge pull request kubesphere#540 from runzexia/devop-api-docs
Browse files Browse the repository at this point in the history
add missing devops api body
  • Loading branch information
rayzhou2017 authored Jul 1, 2019
2 parents f7d972f + 1dded6b commit 058d97c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/apis/devops/v1alpha2/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ func addWebService(c *restful.Container) error {
Metadata(restfulspec.KeyOpenAPITags, tags).
Param(webservice.PathParameter("devops", "DevOps project's ID, e.g. project-RRRRAzLBlLEm")).
Returns(http.StatusOK, RespOK, devops.DevOpsProjectMembership{}).
Writes(devops.DevOpsProjectMembership{}))
Writes(devops.DevOpsProjectMembership{}).
Reads(devops.DevOpsProjectMembership{}))

webservice.Route(webservice.PATCH("/devops/{devops}/members/{member}").
To(devopsapi.UpdateDevOpsProjectMemberHandler).
Expand Down

0 comments on commit 058d97c

Please sign in to comment.