Skip to content

Commit

Permalink
fix Missing 404 swagger response docs for /admin/users/{username} (go…
Browse files Browse the repository at this point in the history
  • Loading branch information
CaiCandong authored and GiteaBot committed Jul 24, 2023
1 parent 8d91936 commit 5a52e4f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions routers/api/v1/admin/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,8 @@ func DeleteUser(ctx *context.APIContext) {
// "$ref": "#/responses/empty"
// "403":
// "$ref": "#/responses/forbidden"
// "404":
// "$ref": "#/responses/notFound"
// "422":
// "$ref": "#/responses/validationError"

Expand Down
3 changes: 3 additions & 0 deletions templates/swagger/v1_json.tmpl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5a52e4f

Please sign in to comment.