Skip to content

Commit f7b15df

Browse files
committed
Update swagger
1 parent dc1c3a5 commit f7b15df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: routers/api/v1/repo/file.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ func GetContentsList(ctx *context.APIContext) {
604604
func GetFileHistory(ctx *context.APIContext) {
605605
// swagger:operation GET /repos/{owner}/{repo}/git/history/{filepath} repository repoGetFileHistory
606606
// ---
607-
// summary: Get a file's or directory's commit history
607+
// summary: Get the commit history of a file or directory
608608
// produces:
609609
// - application/json
610610
// parameters:

Diff for: templates/swagger/v1_json.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -3660,7 +3660,7 @@
36603660
"tags": [
36613661
"repository"
36623662
],
3663-
"summary": "Get a file's or directory's commit history",
3663+
"summary": "Get the commit history of a file or directory",
36643664
"operationId": "repoGetFileHistory",
36653665
"parameters": [
36663666
{

0 commit comments

Comments
 (0)