Changed response type for Add bucket (#2721)

Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
Alex
2023-03-17 17:36:42 -06:00
committed by GitHub
parent f20fa0b1c8
commit 72a1e5eefb
9 changed files with 204 additions and 69 deletions

View File

@@ -201,8 +201,10 @@ paths:
schema:
$ref: "#/definitions/makeBucketRequest"
responses:
201:
200:
description: A successful response.
schema:
$ref: "#/definitions/makeBucketsResponse"
default:
description: Generic error response.
schema:
@@ -4290,6 +4292,13 @@ definitions:
type: string
destination_bucket:
type: string
makeBucketsResponse:
type: object
properties:
bucketName:
type: string
listBucketEventsResponse:
type: object
properties: