Skip to content

Commit

Permalink
fix: issue #1608 sdk generation
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-trajanovski committed Jan 20, 2025
1 parent b3d4187 commit b89543a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-and-publish-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ jobs:
--git-user-id SciCatProject \
-o ./sdk/${{ matrix.generator }} $(
if [ "${{ matrix.generator }}" == "typescript-angular" ] || [ "${{ matrix.generator }}" == "typescript-fetch" ]; then
echo "--additional-properties=npmVersion=${{ needs.build-release.outputs.new_tag}}";
echo "--additional-properties=npmVersion=${{ needs.build-release.outputs.new_tag}},paramNaming=original,modelPropertyNaming=original,enumPropertyNaming=original";
elif [ "${{ matrix.generator }}" == "python" ]; then
echo "--additional-properties=packageVersion=${{ needs.build-release.outputs.new_tag}}";
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-sdk-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
command-args: |
-o ./sdk/${{ matrix.generator }} $(
if [ "${{ matrix.generator }}" == "typescript-angular" ] || [ "${{ matrix.generator }}" == "typescript-fetch" ]; then
echo "--additional-properties=npmVersion=${{env.SDK_VERSION}}";
echo "--additional-properties=npmVersion=${{env.SDK_VERSION}},paramNaming=original,modelPropertyNaming=original,enumPropertyNaming=original";
elif [ "${{ matrix.generator }}" == "python" ]; then
echo "--additional-properties=packageVersion=${{env.SDK_VERSION}}";
fi
Expand Down

0 comments on commit b89543a

Please sign in to comment.