mirror of
https://github.com/go-gitea/gitea
synced 2024-12-23 09:04:26 +00:00
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:
parent
0d3d9675c6
commit
f029b9ae4f
@ -52,6 +52,8 @@ func Migrate(ctx *context.APIContext) {
|
|||||||
// "$ref": "#/responses/Repository"
|
// "$ref": "#/responses/Repository"
|
||||||
// "403":
|
// "403":
|
||||||
// "$ref": "#/responses/forbidden"
|
// "$ref": "#/responses/forbidden"
|
||||||
|
// "409":
|
||||||
|
// description: The repository with the same name already exists.
|
||||||
// "422":
|
// "422":
|
||||||
// "$ref": "#/responses/validationError"
|
// "$ref": "#/responses/validationError"
|
||||||
|
|
||||||
|
@ -2222,6 +2222,9 @@
|
|||||||
"403": {
|
"403": {
|
||||||
"$ref": "#/responses/forbidden"
|
"$ref": "#/responses/forbidden"
|
||||||
},
|
},
|
||||||
|
"409": {
|
||||||
|
"description": "The repository with the same name already exists."
|
||||||
|
},
|
||||||
"422": {
|
"422": {
|
||||||
"$ref": "#/responses/validationError"
|
"$ref": "#/responses/validationError"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user