mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-24 18:56:11 +01: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:
commit
71a4f07b6c
|
@ -176,7 +176,7 @@ func CreateTag(ctx *context.APIContext) {
|
|||
// schema:
|
||||
// "$ref": "#/definitions/CreateTagOption"
|
||||
// responses:
|
||||
// "200":
|
||||
// "201":
|
||||
// "$ref": "#/responses/Tag"
|
||||
// "404":
|
||||
// "$ref": "#/responses/notFound"
|
||||
|
|
2
templates/swagger/v1_json.tmpl
generated
2
templates/swagger/v1_json.tmpl
generated
|
@ -13349,7 +13349,7 @@
|
|||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"201": {
|
||||
"$ref": "#/responses/Tag"
|
||||
},
|
||||
"404": {
|
||||
|
|
Loading…
Reference in a new issue