Merge pull request #12598 from influxdata/swagger_add_label_task

fix(http): fix task swagger links labels
pull/12564/head
kelwang 2019-03-13 14:24:17 -04:00 committed by GitHub
commit cb7630abd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 10 deletions

View File

@ -5730,24 +5730,22 @@ components:
self: "/api/v2/tasks/1"
owners: "/api/v2/tasks/1/owners"
members: "/api/v2/tasks/1/members"
labels: "/api/v2/tasks/1/labels"
runs: "/api/v2/tasks/1/runs"
logs: "/api/v2/tasks/1/logs"
properties:
self:
type: string
format: uri
$ref: "#/components/schemas/Link"
owners:
type: string
format: uri
$ref: "#/components/schemas/Link"
members:
type: string
format: uri
$ref: "#/components/schemas/Link"
runs:
type: string
format: uri
$ref: "#/components/schemas/Link"
logs:
type: string
format: uri
$ref: "#/components/schemas/Link"
labels:
$ref: "#/components/schemas/Link"
required: [id, name, orgID, flux]
Tasks:
type: array