-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
modifies/apiThis PR adds API routes or modifies themThis PR adds API routes or modifies themtype/bugtype/docsThis PR mainly updates/creates documentationThis PR mainly updates/creates documentation
Description
Description
The swagger endpoint /admin/users/{username}
is missing the response 404
.
When the account does not exist then the API returns 404 - but that is not shown in the swagger docs.
Gitea Version
1.21.0+dev-354-g24c3bb95a
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
n/a
Screenshots
No response
Git Version
n/a
Operating System
n/a
How are you running Gitea?
n/a
Database
None
Metadata
Metadata
Assignees
Labels
modifies/apiThis PR adds API routes or modifies themThis PR adds API routes or modifies themtype/bugtype/docsThis PR mainly updates/creates documentationThis PR mainly updates/creates documentation