forgejo/templates/swagger
Gergely Nagy df8e58c5cb
Allow changing global wiki editability via the API
The global wiki editability can be set via the web UI, this patch makes
it possible to set the same thing via the API too. This is accomplished
by adjusting the GET and PATCH handlers of the
`/api/v1/repos/{owner}/{repo}` route.

The first will include the property when checking the repo's settings,
the second allows a repo admin to change the setting too.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-04-16 22:51:36 +02:00
..
forgejo-ui.tmpl [API] Forgejo API /api/forgejo/v1 2024-02-05 14:44:32 +01:00
ui.tmpl [BRANDING] Replace branding in Swagger 2024-02-05 16:02:14 +01:00
v1_json.tmpl Allow changing global wiki editability via the API 2024-04-16 22:51:36 +02:00