capacity is int64

This commit is contained in:
Quentin Dufour 2023-11-23 10:02:41 +01:00
parent 814b3e11d4
commit 1caa6e29e5
No known key found for this signature in database
GPG Key ID: E9602264D639FF68

View File

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