From 557010c58b7d11da44837507173c6a1a5bc69861 Mon Sep 17 00:00:00 2001 From: Silas Smith <163026730+ssmith-pc@users.noreply.github.com> Date: Wed, 16 Oct 2024 09:05:20 -0700 Subject: [PATCH] update build-oas script for building exceptions --- codegen/build-oas.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codegen/build-oas.sh b/codegen/build-oas.sh index 232ab1dd..6169577b 100755 --- a/codegen/build-oas.sh +++ b/codegen/build-oas.sh @@ -83,7 +83,7 @@ generate_client() { docker run --rm -v $(pwd):/workspace openapitools/openapi-generator-cli:v5.2.0 generate \ --input-spec "/workspace/$oas_file" \ --generator-name python \ - --additional-properties=packageName=$package_name,pythonAttrNoneIfUnset=true \ + --additional-properties=packageName=$package_name,pythonAttrNoneIfUnset=true,exceptionsPackageName=pinecone.core.openapi.shared.exceptions \ --output "/workspace/${build_dir}" \ --template-dir "/workspace/$template_dir"