From e8f4658ea5835cb27f68f221185a47e8717c6d9d Mon Sep 17 00:00:00 2001 From: Ben Bierens <39762930+benbierens@users.noreply.github.com> Date: Thu, 6 Jun 2024 08:20:46 +0200 Subject: [PATCH] Sets int64 formats for byte-counting integers in openapi spec (#828) * Sets int64 formats for byte-counting integers in openapi spec * uints instead of ints --- openapi.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openapi.yaml b/openapi.yaml index 49c75e64..6887de96 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -289,6 +289,7 @@ components: description: "Root hash of the content" originalBytes: type: integer + format: uint64 description: "Length of original content in bytes" blockSize: type: integer @@ -303,14 +304,18 @@ components: totalBlocks: description: "Number of blocks stored by the node" type: integer + format: uint64 quotaMaxBytes: type: integer + format: uint64 description: "Maximum storage space used by the node" quotaUsedBytes: type: integer + format: uint64 description: "Amount of storage space currently in use" quotaReservedBytes: type: integer + format: uint64 description: "Amount of storage space reserved" servers: