From 1caa6e29e5a305b8bd76d25a29ebf97708554f10 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Thu, 23 Nov 2023 10:02:41 +0100 Subject: capacity is int64 --- doc/api/garage-admin-v1.yml | 6 ++++-- 1 file 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: -- cgit v1.2.3