update api docs

Signed-off-by: runzexia <runzexia@yunify.com>
This commit is contained in:
runzexia
2019-06-20 17:21:04 +08:00
committed by zryfish
parent aec4146c17
commit ae8ee99da3
7 changed files with 99 additions and 99 deletions

View File

@@ -37,11 +37,11 @@ type PageableDevOpsProject struct {
}
type DevOpsProject struct {
ProjectId string `json:"project_id" db:"project_id" description:"ProjectId must be unique within a namespace, it is generated by kubesphere."`
ProjectId string `json:"project_id" db:"project_id" description:"ProjectId must be unique within a workspace, it is generated by kubesphere."`
Name string `json:"name" description:"DevOps Projects's Name'"`
Name string `json:"name" description:"DevOps Projects's Name"`
Description string `json:"description,omitempty" description:"DevOps Projets's Description, used to describe the DevOps Project'"`
Description string `json:"description,omitempty" description:"DevOps Projects's Description, used to describe the DevOps Project'"`
Creator string `json:"creator" description:"Creator's username'"`