mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00: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:
		@@ -16,7 +16,7 @@ import (
 | 
				
			|||||||
func GetBranch(ctx *context.APIContext) {
 | 
					func GetBranch(ctx *context.APIContext) {
 | 
				
			||||||
	// swagger:operation GET /repos/{owner}/{repo}/branches/{branch} repository repoGetBranch
 | 
						// 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:
 | 
						// produces:
 | 
				
			||||||
	// - application/json
 | 
						// - application/json
 | 
				
			||||||
	// parameters:
 | 
						// parameters:
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1157,7 +1157,7 @@
 | 
				
			|||||||
        "tags": [
 | 
					        "tags": [
 | 
				
			||||||
          "repository"
 | 
					          "repository"
 | 
				
			||||||
        ],
 | 
					        ],
 | 
				
			||||||
        "summary": "List a repository's branches",
 | 
					        "summary": "Retrieve a specific branch from a repository",
 | 
				
			||||||
        "operationId": "repoGetBranch",
 | 
					        "operationId": "repoGetBranch",
 | 
				
			||||||
        "parameters": [
 | 
					        "parameters": [
 | 
				
			||||||
          {
 | 
					          {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user