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:
parent
e8f4658ea5
commit
fe9d9705f1
10
openapi.yaml
10
openapi.yaml
|
@ -289,7 +289,7 @@ components:
|
||||||
description: "Root hash of the content"
|
description: "Root hash of the content"
|
||||||
originalBytes:
|
originalBytes:
|
||||||
type: integer
|
type: integer
|
||||||
format: uint64
|
format: int64
|
||||||
description: "Length of original content in bytes"
|
description: "Length of original content in bytes"
|
||||||
blockSize:
|
blockSize:
|
||||||
type: integer
|
type: integer
|
||||||
|
@ -304,18 +304,18 @@ components:
|
||||||
totalBlocks:
|
totalBlocks:
|
||||||
description: "Number of blocks stored by the node"
|
description: "Number of blocks stored by the node"
|
||||||
type: integer
|
type: integer
|
||||||
format: uint64
|
format: int64
|
||||||
quotaMaxBytes:
|
quotaMaxBytes:
|
||||||
type: integer
|
type: integer
|
||||||
format: uint64
|
format: int64
|
||||||
description: "Maximum storage space used by the node"
|
description: "Maximum storage space used by the node"
|
||||||
quotaUsedBytes:
|
quotaUsedBytes:
|
||||||
type: integer
|
type: integer
|
||||||
format: uint64
|
format: int64
|
||||||
description: "Amount of storage space currently in use"
|
description: "Amount of storage space currently in use"
|
||||||
quotaReservedBytes:
|
quotaReservedBytes:
|
||||||
type: integer
|
type: integer
|
||||||
format: uint64
|
format: int64
|
||||||
description: "Amount of storage space reserved"
|
description: "Amount of storage space reserved"
|
||||||
|
|
||||||
servers:
|
servers:
|
||||||
|
|
Loading…
Reference in New Issue