Skip to content

Commit

Permalink
Fix/spec intsizes (#829)
Browse files Browse the repository at this point in the history
* Sets int64 formats for byte-counting integers in openapi spec

* uints instead of ints

* uint64 not supported by every openAPI client
  • Loading branch information
benbierens authored Jun 6, 2024
1 parent e8f4658 commit fe9d970
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit fe9d970

Please sign in to comment.