Ensure swift bytes are positive integers
In swift we service return few integer attributes which can only be positive. Ensure this is incorporated in the schema. Change-Id: I23509ca116f607a2b26fa1c01387dbd4f4df705a Signed-off-by: Artem Goncharov <artem.goncharov@gmail.com>
This commit is contained in:
@@ -1355,11 +1355,13 @@ components:
|
|||||||
description: The number of objects in the container.
|
description: The number of objects in the container.
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: int64
|
||||||
|
minimum: 0
|
||||||
bytes:
|
bytes:
|
||||||
description: |
|
description: |
|
||||||
The total number of bytes that are stored in Object Storage for the account.
|
The total number of bytes that are stored in Object Storage for the account.
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: int64
|
||||||
|
minimum: 0
|
||||||
name:
|
name:
|
||||||
description: The name of the container.
|
description: The name of the container.
|
||||||
type: string
|
type: string
|
||||||
@@ -1385,6 +1387,7 @@ components:
|
|||||||
The total number of bytes that are stored in Object Storage for the container.
|
The total number of bytes that are stored in Object Storage for the container.
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: int64
|
||||||
|
minimum: 0
|
||||||
hash:
|
hash:
|
||||||
description: The MD5 checksum value of the object content.
|
description: The MD5 checksum value of the object content.
|
||||||
type: string
|
type: string
|
||||||
|
Reference in New Issue
Block a user