OpenAPI spec for admin API #379

Merged
lx merged 15 commits from ecosystem/openapi into main 2022-11-16 10:51:05 +00:00
1 changed files with 9 additions and 4 deletions
Showing only changes of commit 5f0928f89c - Show all commits

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/