mirror of
https://github.com/go-gitea/gitea.git
synced 2025-06-11 04:32:57 +08:00
add codecommit to supported services in api docs (#34626)
This commit is contained in:
parent
74a0178c6a
commit
b38f2d31fd
@ -359,7 +359,7 @@ type MigrateRepoOptions struct {
|
||||
// required: true
|
||||
RepoName string `json:"repo_name" binding:"Required;AlphaDashDot;MaxSize(100)"`
|
||||
|
||||
// enum: git,github,gitea,gitlab,gogs,onedev,gitbucket,codebase
|
||||
// enum: git,github,gitea,gitlab,gogs,onedev,gitbucket,codebase,codecommit
|
||||
Service string `json:"service"`
|
||||
AuthUsername string `json:"auth_username"`
|
||||
AuthPassword string `json:"auth_password"`
|
||||
|
3
templates/swagger/v1_json.tmpl
generated
3
templates/swagger/v1_json.tmpl
generated
@ -24863,7 +24863,8 @@
|
||||
"gogs",
|
||||
"onedev",
|
||||
"gitbucket",
|
||||
"codebase"
|
||||
"codebase",
|
||||
"codecommit"
|
||||
],
|
||||
"x-go-name": "Service"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user