summaryrefslogtreecommitdiffstats
path: root/templates/swagger
diff options
context:
space:
mode:
authorLewis Cowles <lewiscowles@me.com>2018-09-09 04:36:08 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2018-09-09 11:36:08 +0800
commitc43399cad8766ee521b873a32c1652407c5a4630 (patch)
treeb6e4a8e848dbc40f7966ce4064ef8633231ccef4 /templates/swagger
parentd293a2b9d6722dffde7998c953c3087e47a38a83 (diff)
downloadgitea-c43399cad8766ee521b873a32c1652407c5a4630.tar.gz
gitea-c43399cad8766ee521b873a32c1652407c5a4630.zip
Fixes repo branch endpoint summary (#4893)
in browser saw `/repos/{owner}/{repo}/branches/{branch} List a repository's branches` fixed Addresses https://github.com/go-gitea/debian-packaging/pull/1 Fixes https://github.com/go-gitea/gitea#4892
Diffstat (limited to 'templates/swagger')
-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 b4b65563dc..aa44e62c72 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -1157,7 +1157,7 @@
"tags": [
"repository"
],
- "summary": "List a repository's branches",
+ "summary": "Retrieve a specific branch from a repository",
"operationId": "repoGetBranch",
"parameters": [
{