mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-22 16:47:30 +00:00
Adding remaining enum for migration repo model type. (#26021)
This commit is contained in:
parent
2e128dd1fc
commit
d12ba978a7
|
@ -327,7 +327,7 @@ type MigrateRepoOptions struct {
|
|||
// required: true
|
||||
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"`
|
||||
AuthUsername string `json:"auth_username"`
|
||||
AuthPassword string `json:"auth_password"`
|
||||
|
|
6
templates/swagger/v1_json.tmpl
generated
6
templates/swagger/v1_json.tmpl
generated
|
@ -19731,7 +19731,11 @@
|
|||
"git",
|
||||
"github",
|
||||
"gitea",
|
||||
"gitlab"
|
||||
"gitlab",
|
||||
"gogs",
|
||||
"onedev",
|
||||
"gitbucket",
|
||||
"codebase"
|
||||
],
|
||||
"x-go-name": "Service"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue