Merge pull request #571 from soulseen/fix/api_typo

fix devops api typo
This commit is contained in:
runzexia
2019-07-06 17:13:03 +08:00
committed by GitHub
2 changed files with 2 additions and 2 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. e.g. active "`
Status string `json:"status" description:"Deprecated, Status of project membership. e.g. active "`
GrantBy string `json:"grand_by,omitempty" description:"Username of the user who assigned the role"`
}

View File

@@ -49,7 +49,7 @@ type DevOpsProject struct {
Status string `json:"status" description:"DevOps project's status. e.g. active"`
Visibility string `json:"visibility,omitempty" description:"Desperated Field"`
Visibility string `json:"visibility,omitempty" description:"Deprecated Field"`
Extra string `json:"extra,omitempty" description:"Internal Use"`