mirror of
https://git.deuxfleurs.fr/Deuxfleurs/garage.git
synced 2024-11-25 17:41:01 +00:00
capacity is int64
This commit is contained in:
parent
814b3e11d4
commit
1caa6e29e5
1 changed files with 4 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue