mirror of
https://github.com/codex-storage/nim-codex.git
synced 2025-01-20 01:38:55 +00:00
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
This commit is contained in:
parent
a4a50fd714
commit
e8f4658ea5
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user