Fix/spec intsizes (#829)

* Sets int64 formats for byte-counting integers in openapi spec

* uints instead of ints

* uint64 not supported by every openAPI client
This commit is contained in:
Ben Bierens 2024-06-06 11:44:58 +02:00 committed by GitHub
parent e8f4658ea5
commit fe9d9705f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 5 deletions

View File

@ -289,7 +289,7 @@ components:
description: "Root hash of the content"
originalBytes:
type: integer
format: uint64
format: int64
description: "Length of original content in bytes"
blockSize:
type: integer
@ -304,18 +304,18 @@ components:
totalBlocks:
description: "Number of blocks stored by the node"
type: integer
format: uint64
format: int64
quotaMaxBytes:
type: integer
format: uint64
format: int64
description: "Maximum storage space used by the node"
quotaUsedBytes:
type: integer
format: uint64
format: int64
description: "Amount of storage space currently in use"
quotaReservedBytes:
type: integer
format: uint64
format: int64
description: "Amount of storage space reserved"
servers: