Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: downgraded ts sdk generator version #510

Merged
merged 2 commits into from
Sep 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/generate-go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,16 +126,16 @@ jobs:
mv model*.go ./model
mv utils.go ./model
cd model
sed 's/package fattureincloud/package model/g' *
sed 's/Statuss/Statuses/g' *
sed -i 's/package fattureincloud/package model/g' *
sed -i 's/Statuss/Statuses/g' *
cd ..
rm -rf api
mkdir api
mv api*.go ./api
mv client.go ./api
mv configuration.go ./api
cd api
sed 's/package fattureincloud/package api/g' *
sed -i 's/package fattureincloud/package api/g' *

- id: move-custom-files-to-repo
name: Move custom files to repo
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/generate-typescript-axios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ jobs:
cd ../generated/typescript-axios/scripts
yarn

# To remove when the fix is out
# https://github.com/OpenAPITools/openapi-generator/issues/13413
- id: downgrade-openapi-generator
name: Set openapi generator to 6.0.1
run: openapi-generator-cli version-manager set 6.0.1

- id: bump-typescript-sdk-version
name: Bump TypeScript SDK
env:
Expand Down