Browse Source

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

tags/v1.6.0-dev
Lauris BH GitHub 7 years ago
parent
commit
e6f646cbf8
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