mirror of
https://github.com/go-gitea/gitea
synced 2025-07-13 14:07:20 +00:00
Backport #34626 by TheFox0x7 Co-authored-by: TheFox0x7 <thefox0x7@gmail.com>
This commit is contained in:
@ -357,7 +357,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
@ -24806,7 +24806,8 @@
|
||||
"gogs",
|
||||
"onedev",
|
||||
"gitbucket",
|
||||
"codebase"
|
||||
"codebase",
|
||||
"codecommit"
|
||||
],
|
||||
"x-go-name": "Service"
|
||||
},
|
||||
|
Reference in New Issue
Block a user