1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-09-15 18:56:59 +00:00

Improve Swagger documentation for user endpoints

(cherry picked from commit b074e08f34)
This commit is contained in:
JakobDev 2024-11-23 10:33:55 +01:00 committed by forgejo-backport-action
parent a167d7b91c
commit 72cbefe63e
23 changed files with 703 additions and 2 deletions

View file

@ -306,6 +306,10 @@ func Create(ctx *context.APIContext) {
// "$ref": "#/responses/Repository"
// "400":
// "$ref": "#/responses/error"
// "401":
// "$ref": "#/responses/unauthorized"
// "403":
// "$ref": "#/responses/forbidden"
// "409":
// description: The repository with the same name already exists.
// "413":