Skip to content

Commit d12ba97

Browse files
authored
Adding remaining enum for migration repo model type. (#26021)
1 parent 2e128dd commit d12ba97

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

modules/structs/repo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ type MigrateRepoOptions struct {
327327
// required: true
328328
RepoName string `json:"repo_name" binding:"Required;AlphaDashDot;MaxSize(100)"`
329329

330-
// enum: git,github,gitea,gitlab
330+
// enum: git,github,gitea,gitlab,gogs,onedev,gitbucket,codebase
331331
Service string `json:"service"`
332332
AuthUsername string `json:"auth_username"`
333333
AuthPassword string `json:"auth_password"`

templates/swagger/v1_json.tmpl

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)