aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Coleman <mc@fivebats.com>2023-01-16 23:57:23 -0800
committerMike Coleman <mc@fivebats.com>2023-01-16 23:57:23 -0800
commitfcc5033466e58e3beec05ee7748d33522b6b32b0 (patch)
tree8a32f10c4b1ba944cb5961f1f9958701da45b3da
parentf5746a46f9ac34a4c189090c2bbd210e60094ee9 (diff)
downloadgarage-fcc5033466e58e3beec05ee7748d33522b6b32b0.tar.gz
garage-fcc5033466e58e3beec05ee7748d33522b6b32b0.zip
Change some integer types to int64
Modified integer types representing byte or object count to int64 to prevent overflow.
-rw-r--r--doc/api/garage-admin-v0.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/api/garage-admin-v0.yml b/doc/api/garage-admin-v0.yml
index a841f8d9..51968894 100644
--- a/doc/api/garage-admin-v0.yml
+++ b/doc/api/garage-admin-v0.yml
@@ -678,10 +678,12 @@ paths:
properties:
maxSize:
type: integer
+ format: int64
nullable: true
example: 19029801
maxObjects:
type: integer
+ format: int64
nullable: true
example: null
@@ -1158,9 +1160,11 @@ components:
$ref: '#/components/schemas/BucketKeyInfo'
objects:
type: integer
+ format: int64
example: 14827
bytes:
type: integer
+ format: int64
example: 13189855625
unfinishedUploads:
type: integer
@@ -1171,10 +1175,12 @@ components:
maxSize:
nullable: true
type: integer
+ format: int64
example: null
maxObjects:
nullable: true
type: integer
+ format: int64
example: null