Skip to content

Commit

Permalink
Remove interactivity from docker script
Browse files Browse the repository at this point in the history
  • Loading branch information
amshamah419 committed Sep 8, 2024
1 parent 1a45946 commit 9ce421d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gen-code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ rm -rf demisto_client/demisto_api
rm -rf docs
mkdir -p demisto_client
mv README.md README.md.org
docker run --rm -it -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
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
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 9ce421d

Please sign in to comment.