Skip to content

Commit

Permalink
ci: downgraded ts sdk generator version (#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
emajo authored Sep 22, 2022
1 parent 8414cc5 commit e58bd0f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
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

0 comments on commit e58bd0f

Please sign in to comment.