0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 07:43:18 -05:00

Merge pull request '[GITEA] Document correct status code for creating a tag' (#2201) from gusted/forgejo-201-tag into forgejo-dependency

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2201
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
This commit is contained in:
Gusted 2024-01-21 23:31:20 +00:00
commit 71a4f07b6c
2 changed files with 2 additions and 2 deletions

View file

@ -176,7 +176,7 @@ func CreateTag(ctx *context.APIContext) {
// schema: // schema:
// "$ref": "#/definitions/CreateTagOption" // "$ref": "#/definitions/CreateTagOption"
// responses: // responses:
// "200": // "201":
// "$ref": "#/responses/Tag" // "$ref": "#/responses/Tag"
// "404": // "404":
// "$ref": "#/responses/notFound" // "$ref": "#/responses/notFound"

View file

@ -13349,7 +13349,7 @@
} }
], ],
"responses": { "responses": {
"200": { "201": {
"$ref": "#/responses/Tag" "$ref": "#/responses/Tag"
}, },
"404": { "404": {