Declare Authorization scheme in OpenAPI

This commit is contained in:
Quentin 2022-09-12 17:24:44 +02:00
parent 0a01b34e81
commit 5f0928f89c
Signed by untrusted user: quentin
GPG key ID: E9602264D639FF68

View file

@ -431,9 +431,11 @@ paths:
schema:
$ref: '#/components/schemas/KeyInfo'
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
schemas:
NodeNetworkInfo:
type: object
@ -555,6 +557,9 @@ components:
type: boolean
example: false
security:
- bearerAuth: []
servers:
- description: A local server
url: http://localhost:3903/v0/