Skip to content

Commit

Permalink
Update swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerty287 committed Nov 16, 2021
1 parent dc1c3a5 commit f7b15df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion routers/api/v1/repo/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ func GetContentsList(ctx *context.APIContext) {
func GetFileHistory(ctx *context.APIContext) {
// swagger:operation GET /repos/{owner}/{repo}/git/history/{filepath} repository repoGetFileHistory
// ---
// summary: Get a file's or directory's commit history
// summary: Get the commit history of a file or directory
// produces:
// - application/json
// parameters:
Expand Down
2 changes: 1 addition & 1 deletion templates/swagger/v1_json.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3660,7 +3660,7 @@
"tags": [
"repository"
],
"summary": "Get a file's or directory's commit history",
"summary": "Get the commit history of a file or directory",
"operationId": "repoGetFileHistory",
"parameters": [
{
Expand Down

0 comments on commit f7b15df

Please sign in to comment.