Sfoglia il codice sorgente

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

tags/v1.6.0-dev
Lauris BH 6 anni fa
parent
commit
659bc727bd
Nessun account collegato all'indirizzo email del committer
2 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 2
    2
      public/swagger.v1.json
  2. 2
    2
      routers/api/v1/repo/issue_comment.go

+ 2
- 2
public/swagger.v1.json Vedi 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 Vedi 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…
Annulla
Salva