Skip to content

Commit

Permalink
fix-deprecated-code
Browse files Browse the repository at this point in the history
  • Loading branch information
tkatzir committed Oct 6, 2024
1 parent bfaf243 commit 97e1264
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gen-code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ rm -rf demisto_client/demisto_api
rm -rf docs
mkdir -p demisto_client
mv README.md README.md.org
echo '##### Running Docker swaggerapi/swagger-codegen-cli:2.4.7'
docker run --rm -u `id -u` -v `pwd`:/work -w /work swaggerapi/swagger-codegen-cli:2.4.7 generate -i /work/server_api_swagger.json -l python -o /work -c /work/swagger-config.json
echo '##### Ran Docker swaggerapi/swagger-codegen-cli:2.4.7'
rm -rf test
mv demisto_client.demisto_api/*.py demisto_client/demisto_api/.
mv demisto_client.demisto_api/api/*.py demisto_client/demisto_api/api/.
Expand Down

0 comments on commit 97e1264

Please sign in to comment.