summaryrefslogtreecommitdiffstats
path: root/routers/api
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 /routers/api
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 'routers/api')
-rw-r--r--routers/api/v1/repo/branch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/repo/branch.go b/routers/api/v1/repo/branch.go
index 96c2b02cb3..e8c965a814 100644
--- a/routers/api/v1/repo/branch.go
+++ b/routers/api/v1/repo/branch.go
@@ -16,7 +16,7 @@ import (
func GetBranch(ctx *context.APIContext) {
// swagger:operation GET /repos/{owner}/{repo}/branches/{branch} repository repoGetBranch
// ---
- // summary: List a repository's branches
+ // summary: Retrieve a specific branch from a repository
// produces:
// - application/json
// parameters: