ソースを参照

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

tags/v1.6.0-dev
Lauris BH 6年前
コミット
659bc727bd
コミッターのメールアドレスに関連付けられたアカウントが存在しません
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 ファイルの表示

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

+ 2
- 2
routers/api/v1/repo/issue_comment.go ファイルの表示

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

読み込み中…
キャンセル
保存