Closed
Description
Gitea Version
1.15.3 built with GNU Make 4.1, go1.16.8 : bindata, sqlite, sqlite_unlock_notify
Git Version
No response
Operating System
Windows 10
How are you running Gitea?
a command-line
Database
SQLite
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Description
When using the web Api /api/swagger
PATCH /admin/users/{username}
Edit an existing user
results in 422 Error: Unprocessable Entity
I can confirm that the token is working because GET /admin/users
List all users is working as expected.
Also, user 034732 exists on the list generated by /admin/users
I am using the sample model provided by swagger on PATCH /admin/users/{username}
Edit an existing user.
I just supplied the username of user to edit
= 034732