forgejo/templates/swagger
Giteabot 5d1d66ac3a
chore(api): support ignore password if login source type is LDAP for creating user API (#28491) (#28525)
Backport #28491 by @appleboy

- Modify the `Password` field in `CreateUserOption` struct to remove the
`Required` tag
- Update the `v1_json.tmpl` template to include the `email` field and
remove the `password` field

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
(cherry picked from commit 411310d698)
2023-12-22 12:10:03 +01:00
..
forgejo-ui.tmpl [API] Forgejo API /api/forgejo/v1 2023-11-13 12:33:48 +01:00
ui.tmpl [BRANDING] Replace branding in Swagger 2023-11-22 17:14:07 +01:00
v1_json.tmpl chore(api): support ignore password if login source type is LDAP for creating user API (#28491) (#28525) 2023-12-22 12:10:03 +01:00