mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-09-01 09:48:23 +00:00
capacity is int64
This commit is contained in:
@@ -1081,6 +1081,7 @@ components:
|
|||||||
example: dc1
|
example: dc1
|
||||||
capacity:
|
capacity:
|
||||||
type: integer
|
type: integer
|
||||||
|
format: int64
|
||||||
nullable: true
|
nullable: true
|
||||||
example: 4
|
example: 4
|
||||||
tags:
|
tags:
|
||||||
@@ -1098,7 +1099,7 @@ components:
|
|||||||
- $ref: '#/components/schemas/NodeRoleUpdate'
|
- $ref: '#/components/schemas/NodeRoleUpdate'
|
||||||
NodeRoleRemove:
|
NodeRoleRemove:
|
||||||
type: object
|
type: object
|
||||||
required: [ remove ]
|
required: [ id, remove ]
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
@@ -1108,7 +1109,7 @@ components:
|
|||||||
example: true
|
example: true
|
||||||
NodeRoleUpdate:
|
NodeRoleUpdate:
|
||||||
type: object
|
type: object
|
||||||
required: [ zone, capacity, tags ]
|
required: [ id, zone, capacity, tags ]
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
@@ -1118,6 +1119,7 @@ components:
|
|||||||
example: "dc1"
|
example: "dc1"
|
||||||
capacity:
|
capacity:
|
||||||
type: integer
|
type: integer
|
||||||
|
format: int64
|
||||||
nullable: true
|
nullable: true
|
||||||
example: 150000000000
|
example: 150000000000
|
||||||
tags:
|
tags:
|
||||||
|
|||||||
Reference in New Issue
Block a user