From 16d10aedf79cddf7cdc15d55c42c72f4948b3ee2 Mon Sep 17 00:00:00 2001 From: HugoCasa Date: Wed, 29 Nov 2023 21:18:17 +0100 Subject: [PATCH] fix: s3 resource openapi spec (#2730) --- backend/windmill-api/openapi.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/backend/windmill-api/openapi.yaml b/backend/windmill-api/openapi.yaml index adc15711f0..b518f31648 100644 --- a/backend/windmill-api/openapi.yaml +++ b/backend/windmill-api/openapi.yaml @@ -6331,8 +6331,10 @@ paths: content: application/json: schema: - s3_resource: - $ref: "#/components/schemas/S3Resource" + type: object + properties: + s3_resource: + $ref: "#/components/schemas/S3Resource" responses: "200": description: Connection settings @@ -6359,8 +6361,10 @@ paths: content: application/json: schema: - s3_resource: - $ref: "#/components/schemas/S3Resource" + type: object + properties: + s3_resource: + $ref: "#/components/schemas/S3Resource" responses: "200": description: Connection settings