|
|
@ -327,7 +327,7 @@ type MigrateRepoOptions struct {
|
|
|
|
// required: true
|
|
|
|
// required: true
|
|
|
|
RepoName string `json:"repo_name" binding:"Required;AlphaDashDot;MaxSize(100)"`
|
|
|
|
RepoName string `json:"repo_name" binding:"Required;AlphaDashDot;MaxSize(100)"`
|
|
|
|
|
|
|
|
|
|
|
|
// enum: git,github,gitea,gitlab
|
|
|
|
// enum: git,github,gitea,gitlab,gogs,onedev,gitbucket,codebase
|
|
|
|
Service string `json:"service"`
|
|
|
|
Service string `json:"service"`
|
|
|
|
AuthUsername string `json:"auth_username"`
|
|
|
|
AuthUsername string `json:"auth_username"`
|
|
|
|
AuthPassword string `json:"auth_password"`
|
|
|
|
AuthPassword string `json:"auth_password"`
|
|
|
|