diff options
author | Lauris BH <lauris@nix.lv> | 2018-07-12 16:40:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-12 16:40:41 +0300 |
commit | 659bc727bd12bf219d80d38d8b634bd578ddb84f (patch) | |
tree | 59e32fff0a2a7f30e825e0d80bf88a49458b0f22 | |
parent | e6b51200abc879f0768c59e85afac7d89c3dbfa6 (diff) | |
download | gitea-659bc727bd12bf219d80d38d8b634bd578ddb84f.tar.gz gitea-659bc727bd12bf219d80d38d8b634bd578ddb84f.zip |
Fix query parameter name comment in issue API (#4421)
-rw-r--r-- | public/swagger.v1.json | 4 | ||||
-rw-r--r-- | routers/api/v1/repo/issue_comment.go | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/public/swagger.v1.json b/public/swagger.v1.json index c2efd66da0..ce56b3dea9 100644 --- a/public/swagger.v1.json +++ b/public/swagger.v1.json @@ -1847,7 +1847,7 @@ { "type": "string", "description": "if provided, only comments updated since the provided time are returned.", - "name": "string", + "name": "since", "in": "query" } ], @@ -2160,7 +2160,7 @@ { "type": "string", "description": "if provided, only comments updated since the specified time are returned.", - "name": "string", + "name": "since", "in": "query" } ], diff --git a/routers/api/v1/repo/issue_comment.go b/routers/api/v1/repo/issue_comment.go index af952a070b..ba627bb8a2 100644 --- a/routers/api/v1/repo/issue_comment.go +++ b/routers/api/v1/repo/issue_comment.go @@ -36,7 +36,7 @@ func ListIssueComments(ctx *context.APIContext) { // description: index of the issue // type: integer // required: true - // - name: string + // - name: since // in: query // description: if provided, only comments updated since the specified time are returned. // type: string @@ -90,7 +90,7 @@ func ListRepoIssueComments(ctx *context.APIContext) { // description: name of the repo // type: string // required: true - // - name: string + // - name: since // in: query // description: if provided, only comments updated since the provided time are returned. // type: string |