Declare Authorization scheme in OpenAPI
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Quentin 2022-09-12 17:24:44 +02:00
parent bbe38a9b30
commit a628359122
Signed by: quentin
GPG key ID: E9602264D639FF68

View file

@ -429,11 +429,13 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/KeyInfo'
$ref: '#/components/schemas/KeyInfo'
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
schemas:
NodeNetworkInfo:
type: object
@ -554,7 +556,10 @@ components:
owner:
type: boolean
example: false
security:
- bearerAuth: []
servers:
- description: A local server
url: http://localhost:3903/v0/