Browse Source

Fix query parameter name comment in issue API (#4421)

for-closed-social
Lauris BH 6 years ago
committed by GitHub
parent
commit
659bc727bd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      public/swagger.v1.json
  2. +2
    -2
      routers/api/v1/repo/issue_comment.go

+ 2
- 2
public/swagger.v1.json View File

@ -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"
}
],

+ 2
- 2
routers/api/v1/repo/issue_comment.go View File

@ -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

Loading…
Cancel
Save