From fc62edf4cc2055605d6624952290d6003c386571 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Mon, 2 Oct 2023 13:53:58 +0100 Subject: [PATCH] Fixing swagger API version, updating to use old 3.0.46 as version 3.0.47 does not appear to running correctly. --- packages/sdk/scripts/generate-sdk.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/sdk/scripts/generate-sdk.sh b/packages/sdk/scripts/generate-sdk.sh index 82cb3f1d36..cde54c5a5c 100755 --- a/packages/sdk/scripts/generate-sdk.sh +++ b/packages/sdk/scripts/generate-sdk.sh @@ -19,7 +19,7 @@ docker run --rm \ -v ${PWD}/generated:/generated \ -v ${PWD}/config.json:/config.json \ -u $(id -u):$(id -g) \ - swaggerapi/swagger-codegen-cli-v3 generate \ + swaggerapi/swagger-codegen-cli-v3:3.0.46 generate \ -i /openapi.yml \ -l javascript \ -o /generated \ @@ -34,4 +34,4 @@ if [[ -f "openapi.yaml" ]]; then fi if [[ -d "generated" ]]; then rm -r generated -fi \ No newline at end of file +fi