1
1
Fork 1
mirror of https://github.com/go-gitea/gitea.git synced 2024-05-23 17:46:09 +02:00

fix Missing 404 swagger response docs for /admin/users/{username} (#26086)

close #26079
This commit is contained in:
caicandong 2023-07-24 16:48:44 +08:00 committed by GitHub
parent cdd3d4b8d8
commit 4211efe8b7
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -312,6 +312,8 @@ func DeleteUser(ctx *context.APIContext) {
// "$ref": "#/responses/empty"
// "403":
// "$ref": "#/responses/forbidden"
// "404":
// "$ref": "#/responses/notFound"
// "422":
// "$ref": "#/responses/validationError"

View File

@ -620,6 +620,9 @@
"403": {
"$ref": "#/responses/forbidden"
},
"404": {
"$ref": "#/responses/notFound"
},
"422": {
"$ref": "#/responses/validationError"
}