mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-28 20: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:
|
// 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"
|
||||||
|
|
2
templates/swagger/v1_json.tmpl
generated
2
templates/swagger/v1_json.tmpl
generated
|
@ -13349,7 +13349,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"responses": {
|
"responses": {
|
||||||
"200": {
|
"201": {
|
||||||
"$ref": "#/responses/Tag"
|
"$ref": "#/responses/Tag"
|
||||||
},
|
},
|
||||||
"404": {
|
"404": {
|
||||||
|
|
Loading…
Reference in a new issue