aboutsummaryrefslogtreecommitdiffstats
path: root/templates/swagger/v1_json.tmpl
diff options
context:
space:
mode:
authorCaiCandong <50507092+CaiCandong@users.noreply.github.com>2023-09-18 08:21:15 +0800
committerGitHub <noreply@github.com>2023-09-18 00:21:15 +0000
commitf93ee5937bcb43aaf1e3b527d852487e80ae570b (patch)
tree34793295a78ae03e2f763df5bfb5011547b25757 /templates/swagger/v1_json.tmpl
parent8531ca08372dd4a4739564dec17766fffe34a385 (diff)
downloadgitea-f93ee5937bcb43aaf1e3b527d852487e80ae570b.tar.gz
gitea-f93ee5937bcb43aaf1e3b527d852487e80ae570b.zip
Fix token endpoints ignore specified account (#27080)
Fix #26234 close #26323 close #27040 --------- Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'templates/swagger/v1_json.tmpl')
-rw-r--r--templates/swagger/v1_json.tmpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 88dc9ea1ce..39c5a7fe11 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -16359,6 +16359,9 @@
"responses": {
"200": {
"$ref": "#/responses/AccessTokenList"
+ },
+ "403": {
+ "$ref": "#/responses/forbidden"
}
}
},
@@ -16396,6 +16399,9 @@
},
"400": {
"$ref": "#/responses/error"
+ },
+ "403": {
+ "$ref": "#/responses/forbidden"
}
}
}
@@ -16430,6 +16436,9 @@
"204": {
"$ref": "#/responses/empty"
},
+ "403": {
+ "$ref": "#/responses/forbidden"
+ },
"404": {
"$ref": "#/responses/notFound"
},