Просмотр исходного кода

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

tags/v1.6.0-dev
Lauris BH 6 лет назад
Родитель
Сommit
659bc727bd
Аккаунт пользователя с таким Email не найден
2 измененных файлов: 4 добавлений и 4 удалений
  1. 2
    2
      public/swagger.v1.json
  2. 2
    2
      routers/api/v1/repo/issue_comment.go

+ 2
- 2
public/swagger.v1.json Просмотреть файл

@@ -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 Просмотреть файл

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

Загрузка…
Отмена
Сохранить