summaryrefslogtreecommitdiffstats
path: root/templates/swagger
diff options
context:
space:
mode:
authorJohn Olheiser <42128690+jolheiser@users.noreply.github.com>2019-12-19 16:49:47 -0600
committerAntoine GIRARD <sapk@users.noreply.github.com>2019-12-19 23:49:47 +0100
commita276aaf61e134a3f4d44b7dc53a2366af9de0483 (patch)
tree3ed9ee5a6b08dd0c5997c8105f1db316359e8c84 /templates/swagger
parente03934f03517c63954d7f23ca42cda74ff6389e9 (diff)
downloadgitea-a276aaf61e134a3f4d44b7dc53a2366af9de0483.tar.gz
gitea-a276aaf61e134a3f4d44b7dc53a2366af9de0483.zip
Fix NewCommitStatus (#9434) (#9435)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Diffstat (limited to 'templates/swagger')
-rw-r--r--templates/swagger/v1_json.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index d8750d8bcc..561a67e5d2 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -5284,8 +5284,8 @@
}
],
"responses": {
- "200": {
- "$ref": "#/responses/StatusList"
+ "201": {
+ "$ref": "#/responses/Status"
}
}
}