Skip to content

Commit 29dc9c7

Browse files
GiteaBotTheFox0x7
andauthored
add codecommit to supported services in api docs (#34626) (#34633)
Backport #34626 by TheFox0x7 Co-authored-by: TheFox0x7 <[email protected]>
1 parent b1cc4bf commit 29dc9c7

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
@@ -357,7 +357,7 @@ type MigrateRepoOptions struct {
357357
// required: true
358358
RepoName string `json:"repo_name" binding:"Required;AlphaDashDot;MaxSize(100)"`
359359

360-
// enum: git,github,gitea,gitlab,gogs,onedev,gitbucket,codebase
360+
// enum: git,github,gitea,gitlab,gogs,onedev,gitbucket,codebase,codecommit
361361
Service string `json:"service"`
362362
AuthUsername string `json:"auth_username"`
363363
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)