OpenAPI spec for admin API #379

Merged
lx merged 15 commits from ecosystem/openapi into main 2022-11-16 10:51:05 +00:00
Showing only changes of commit 5f0928f89c - Show all commits

View file

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