diff --git a/generate.sh b/generate.sh index f6cd7b9..1c0edc7 100755 --- a/generate.sh +++ b/generate.sh @@ -6,9 +6,9 @@ if [ -z ${generate} ] || [ ${generate} == "python-neurostore" ] || [ ${generate} echo "generating python-neurostore-sdk..." docker run --rm --user $(id -u):$(id -g) \ - -v $PWD:/local openapitools/openapi-generator-cli:v6.6.0 generate \ + -v $PWD:/local openapitools/openapi-generator-cli:v7.4.0 generate \ -i /local/neurostore-spec/neurostore-openapi.yml \ - -g python-nextgen \ + -g python \ -c /local/neurostore_python_nextgen_sdk_config.json \ -o /local/python/neurostore-python-sdk fi @@ -17,7 +17,7 @@ if [ -z ${generate} ] || [ ${generate} == "typescript-neurostore" ] || [ ${gener echo "generating typescript-neurostore-sdk..." docker run --rm --user $(id -u):$(id -g) \ - -v $PWD:/local openapitools/openapi-generator-cli:v6.6.0 generate \ + -v $PWD:/local openapitools/openapi-generator-cli:v7.4.0 generate \ -i /local/neurostore-spec/neurostore-openapi.yml \ -g typescript-axios \ -o /local/typescript/neurostore-typescript-sdk @@ -29,7 +29,7 @@ if [ -z ${generate} ] || [ ${generate} == "python-neurosynth-compose" ] || [ ${g docker run --rm --user $(id -u):$(id -g) \ -v $PWD:/local openapitools/openapi-generator-cli:v6.6.0 generate \ -i /local/neurostore-spec/neurosynth-compose-openapi.yml \ - -g python-nextgen \ + -g python \ -c /local/neurosynth_compose_python_nextgen_sdk_config.json \ -o /local/python/neurosynth-compose-python-sdk fi @@ -38,7 +38,7 @@ if [ -z ${generate} ] || [ ${generate} == "typescript-neurosynth-compose" ] || [ echo "generating typescript-neurosynth-compose-sdk..." docker run --rm --user $(id -u):$(id -g) \ - -v $PWD:/local openapitools/openapi-generator-cli:v6.6.0 generate \ + -v $PWD:/local openapitools/openapi-generator-cli:v7.4.0 generate \ -i /local/neurostore-spec/neurosynth-compose-openapi.yml \ -g typescript-axios \ -o /local/typescript/neurosynth-compose-typescript-sdk