aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-11-23 10:02:41 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-11-23 10:02:41 +0100
commit1caa6e29e5a305b8bd76d25a29ebf97708554f10 (patch)
tree7a89976775afade10fe6185e895ac90ec10a18ec
parent814b3e11d4486b6d4c291b4e47b845521ddfb25c (diff)
downloadgarage-1caa6e29e5a305b8bd76d25a29ebf97708554f10.tar.gz
garage-1caa6e29e5a305b8bd76d25a29ebf97708554f10.zip
capacity is int64
-rw-r--r--doc/api/garage-admin-v1.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/api/garage-admin-v1.yml b/doc/api/garage-admin-v1.yml
index 063bc382..23943995 100644
--- a/doc/api/garage-admin-v1.yml
+++ b/doc/api/garage-admin-v1.yml
@@ -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: