Declare Authorization scheme in OpenAPI
This commit is contained in:
parent
bbe38a9b30
commit
a628359122
1 changed files with 9 additions and 4 deletions
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue