Skip to content

Commit

Permalink
Fix query parameter name comment in issue API (go-gitea#4421)
Browse files Browse the repository at this point in the history
  • Loading branch information
lafriks authored Jul 12, 2018
1 parent e6b5120 commit 659bc72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions public/swagger.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1847,7 +1847,7 @@
{
"type": "string",
"description": "if provided, only comments updated since the provided time are returned.",
"name": "string",
"name": "since",
"in": "query"
}
],
Expand Down Expand Up @@ -2160,7 +2160,7 @@
{
"type": "string",
"description": "if provided, only comments updated since the specified time are returned.",
"name": "string",
"name": "since",
"in": "query"
}
],
Expand Down
4 changes: 2 additions & 2 deletions routers/api/v1/repo/issue_comment.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 659bc72

Please sign in to comment.