aboutsummaryrefslogtreecommitdiffstats
path: root/templates/swagger/v1_json.tmpl
diff options
context:
space:
mode:
authorNorwin <noerw@users.noreply.github.com>2020-12-24 18:14:01 +0000
committerGitHub <noreply@github.com>2020-12-24 18:14:01 +0000
commitbdeccc36886d6df4f2a8fce9e5f71e866e9902fc (patch)
tree0f47ad698b6a5a7788fa1a2e03138f086e86b37a /templates/swagger/v1_json.tmpl
parentfa2e34928d56598268bbf37e175a291a4b40e92c (diff)
downloadgitea-bdeccc36886d6df4f2a8fce9e5f71e866e9902fc.tar.gz
gitea-bdeccc36886d6df4f2a8fce9e5f71e866e9902fc.zip
Fix api doc response code (#14123)
Fixes #14120
Diffstat (limited to 'templates/swagger/v1_json.tmpl')
-rw-r--r--templates/swagger/v1_json.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index d0303040c5..72665e2b6d 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -11128,7 +11128,7 @@
}
],
"responses": {
- "200": {
+ "201": {
"$ref": "#/responses/AccessToken"
}
}