Skip to content

Commit b38f2d3

Browse files
authored
add codecommit to supported services in api docs (#34626)
1 parent 74a0178 commit b38f2d3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

modules/structs/repo.go

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

362-
// enum: git,github,gitea,gitlab,gogs,onedev,gitbucket,codebase
362+
// enum: git,github,gitea,gitlab,gogs,onedev,gitbucket,codebase,codecommit
363363
Service string `json:"service"`
364364
AuthUsername string `json:"auth_username"`
365365
AuthPassword string `json:"auth_password"`

templates/swagger/v1_json.tmpl

Lines changed: 2 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)