mirror of
https://github.com/openziti/zrok.git
synced 2025-06-20 01:37:52 +02:00
use openapi-generator-cli to generate the py sdk instead of swagger-codegen
This commit is contained in:
parent
0741c1437d
commit
ed18d1ab20
@ -53,15 +53,6 @@ rm -rf sdk/nodejs/sdk/src/api
|
||||
openapi-generator-cli generate -i specs/zrok.yml -o sdk/nodejs/sdk/src/api -g typescript-fetch
|
||||
|
||||
echo "...generating python sdk client"
|
||||
swagger-codegen generate -i specs/zrok.yml -o sdk/python/sdk/zrok -c $pythonConfig -l python
|
||||
openapi-generator-cli generate -i specs/zrok.yml -o sdk/python/sdk/zrok -c $pythonConfig -g python
|
||||
|
||||
git checkout rest_server_zrok/configure_zrok.go
|
||||
|
||||
for OLD in sdk/python/sdk/zrok/git_push.sh sdk/nodejs/sdk/src/zrok/api/git_push.sh
|
||||
do
|
||||
if [ -e "$OLD" ]
|
||||
then
|
||||
rm "$OLD"
|
||||
fi
|
||||
done
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user