From f7b15df2dfa174e975a4fb130ecedfd812715157 Mon Sep 17 00:00:00 2001 From: qwerty287 Date: Tue, 16 Nov 2021 07:46:00 +0100 Subject: [PATCH] Update swagger --- routers/api/v1/repo/file.go | 2 +- templates/swagger/v1_json.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/routers/api/v1/repo/file.go b/routers/api/v1/repo/file.go index 9cafebe100e6..cc2c8e87935d 100644 --- a/routers/api/v1/repo/file.go +++ b/routers/api/v1/repo/file.go @@ -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: diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 5adeff3b3882..5a334f97bf1d 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -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": [ {