Document 409 error returned by repos/migrate api (#19376)

* Document 409 error returned by repos/migrate api

* Generate swagger spec

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
Chongyi ZhengandLunny Xiao authored and GitHub committed 2022-04-12 16:13:07 +08:00
1 parent 0d3d9675c6
commit f029b9ae4f
2 files changed
+5

No files matched your search

+2
View File
@@ -52,6 +52,8 @@ func Migrate(ctx *context.APIContext) {
// "$ref": "#/responses/Repository"
// "403":
// "$ref": "#/responses/forbidden"
// "409":
// description: The repository with the same name already exists.
// "422":
// "$ref": "#/responses/validationError"