소스 검색

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
tags/v1.6.0-dev
Lewis Cowles 5 년 전
부모
커밋
c43399cad8
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1
    1
      routers/api/v1/repo/branch.go
  2. 1
    1
      templates/swagger/v1_json.tmpl

+ 1
- 1
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:

+ 1
- 1
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": [
{

Loading…
취소
저장