Skip to content

Commit 089c3e3

Browse files
authored
Update build-oas script for building exceptions template changes (#396)
## Problem ## Solution Describe the approach you took. Link to any relevant bugs, issues, docs, or other resources. ## Type of Change - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] This change requires a documentation update - [ ] Infrastructure change (CI configs, etc) - [ ] Non-code change (docs, etc) - [ ] None of the above: (explain here) ## Test Plan Describe specific steps for validating this change.
1 parent 2831a5e commit 089c3e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codegen/build-oas.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ generate_client() {
8383
docker run --rm -v $(pwd):/workspace openapitools/openapi-generator-cli:v5.2.0 generate \
8484
--input-spec "/workspace/$oas_file" \
8585
--generator-name python \
86-
--additional-properties=packageName=$package_name,pythonAttrNoneIfUnset=true \
86+
--additional-properties=packageName=$package_name,pythonAttrNoneIfUnset=true,exceptionsPackageName=pinecone.core.openapi.shared.exceptions \
8787
--output "/workspace/${build_dir}" \
8888
--template-dir "/workspace/$template_dir"
8989

0 commit comments

Comments
 (0)