Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-28 04:36:11 +01:00

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
This commit is contained in:
Lewis Cowles 2018-09-09 04:36:08 +01:00 committed by Lunny Xiao
parent d293a2b9d6
commit c43399cad8
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -1157,7 +1157,7 @@
"tags": [
"repository"
],
"summary": "List a repository's branches",
"summary": "Retrieve a specific branch from a repository",
"operationId": "repoGetBranch",
"parameters": [
{