From a76e7b3c40beaad498dd6964b7f31b1a3c5930b6 Mon Sep 17 00:00:00 2001 From: HavenDV Date: Mon, 9 Sep 2024 13:25:07 +0400 Subject: [PATCH] ci: Fixed auto-update. --- src/libs/AssemblyAI/generate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/AssemblyAI/generate.sh b/src/libs/AssemblyAI/generate.sh index 3d0f77e..db9e561 100755 --- a/src/libs/AssemblyAI/generate.sh +++ b/src/libs/AssemblyAI/generate.sh @@ -1,7 +1,7 @@ dotnet tool install --global openapigenerator.cli --prerelease rm -rf Generated curl -o openapi.yaml https://raw.githubusercontent.com/AssemblyAI/assemblyai-api-spec/main/openapi.yml -sudo npm install -g openapi-down-converter +sudo npm i -g @apiture/openapi-down-convert openapi-down-convert --input openapi.yaml --output openapi.yaml dotnet run --project ../../helpers/FixOpenApiSpec openapi.yaml if [ $? -ne 0 ]; then