Merge pull request #12802 from influxdata/swagger_basic_auth

fix(http): swagger define security schemes
pull/13562/head
kelwang 2019-04-24 14:11:45 -04:00 committed by GitHub
commit 54fd1f81ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions

View File

@ -9,7 +9,7 @@ paths:
post:
summary: Exchange basic auth credentials for session
security:
- basicAuth: []
- BasicAuth: []
parameters:
- $ref: '#/components/parameters/TraceSpan'
responses:
@ -4497,7 +4497,7 @@ paths:
- Users
summary: Update password
security:
- basicAuth: []
- BasicAuth: []
parameters:
- $ref: '#/components/parameters/TraceSpan'
requestBody:
@ -4825,7 +4825,7 @@ paths:
- Users
summary: Update password
security:
- basicAuth: []
- BasicAuth: []
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
@ -7772,3 +7772,7 @@ components:
token:
description: Override the existing token associated with the task.
type: string
securitySchemes:
BasicAuth:
type: http
scheme: basic