OpenAPI specification of admin APIv1 #672

Merged
lx merged 15 commits from api-v1 into main 2023-11-29 15:42:47 +00:00
Showing only changes of commit 1caa6e29e5 - Show all commits

View file

@ -1081,6 +1081,7 @@ components:
example: dc1
capacity:
type: integer
format: int64
nullable: true
example: 4
tags:
@ -1098,7 +1099,7 @@ components:
- $ref: '#/components/schemas/NodeRoleUpdate'
NodeRoleRemove:
type: object
required: [ remove ]
required: [ id, remove ]
properties:
id:
type: string
@ -1108,7 +1109,7 @@ components:
example: true
NodeRoleUpdate:
type: object
required: [ zone, capacity, tags ]
required: [ id, zone, capacity, tags ]
properties:
id:
type: string
@ -1118,6 +1119,7 @@ components:
example: "dc1"
capacity:
type: integer
format: int64
nullable: true
example: 150000000000
tags: