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

This commit is contained in:
Lauris BH 2018-07-12 16:40:41 +03:00 committed by GitHub
parent e6b51200ab
commit 659bc727bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -1847,7 +1847,7 @@
{ {
"type": "string", "type": "string",
"description": "if provided, only comments updated since the provided time are returned.", "description": "if provided, only comments updated since the provided time are returned.",
"name": "string", "name": "since",
"in": "query" "in": "query"
} }
], ],
@ -2160,7 +2160,7 @@
{ {
"type": "string", "type": "string",
"description": "if provided, only comments updated since the specified time are returned.", "description": "if provided, only comments updated since the specified time are returned.",
"name": "string", "name": "since",
"in": "query" "in": "query"
} }
], ],

View File

@ -36,7 +36,7 @@ func ListIssueComments(ctx *context.APIContext) {
// description: index of the issue // description: index of the issue
// type: integer // type: integer
// required: true // required: true
// - name: string // - name: since
// in: query // in: query
// description: if provided, only comments updated since the specified time are returned. // description: if provided, only comments updated since the specified time are returned.
// type: string // type: string
@ -90,7 +90,7 @@ func ListRepoIssueComments(ctx *context.APIContext) {
// description: name of the repo // description: name of the repo
// type: string // type: string
// required: true // required: true
// - name: string // - name: since
// in: query // in: query
// description: if provided, only comments updated since the provided time are returned. // description: if provided, only comments updated since the provided time are returned.
// type: string // type: string