Skip to content

Commit

Permalink
update version of generator
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkent authored Apr 3, 2024
1 parent 53cc2cb commit 68e5593
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 68e5593

Please sign in to comment.