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

tokarchuk/v1.17
Lauris BH 6 years ago committed by GitHub
parent e6b51200ab
commit 659bc727bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      public/swagger.v1.json
  2. 4
      routers/api/v1/repo/issue_comment.go

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

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

Loading…
Cancel
Save