From 97e12648938f078925e0f8504192106ca9deb010 Mon Sep 17 00:00:00 2001 From: tkatzir Date: Sun, 6 Oct 2024 10:11:54 +0300 Subject: [PATCH] fix-deprecated-code --- gen-code.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gen-code.sh b/gen-code.sh index da3d098..d91a679 100755 --- a/gen-code.sh +++ b/gen-code.sh @@ -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/.