update devops api doc

Signed-off-by: soulseen <sunzhu@yunify.com>
This commit is contained in:
soulseen
2019-06-19 21:10:01 +08:00
parent 1f125bddf3
commit fbc5a9db03
3 changed files with 6 additions and 9 deletions

View File

@@ -24,7 +24,7 @@ type DevOpsProjectMembership struct {
Username string `json:"username" description:"member's usernameusername can uniquely identify a user"`
ProjectId string `json:"project_id" db:"project_id" description:"the devops projects which project membership belongs to"`
Role string `json:"role" description:"devops project membership's role type. e.g. owner '"`
Status string `json:"status" description:"Desperated, status of project membership"`
Status string `json:"status" description:"Desperated, status of project membership. e.g. active "`
GrantBy string `json:"grand_by,omitempty" description:"Username of the user who assigned the role"`
}