aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/openapi-clients.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/openapi-clients.sh')
-rwxr-xr-xscripts/openapi-clients.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/openapi-clients.sh b/scripts/openapi-clients.sh
index c799658e3..1047e1477 100755
--- a/scripts/openapi-clients.sh
+++ b/scripts/openapi-clients.sh
@@ -59,11 +59,12 @@ for lang in ${API_LANGS//:/ } ; do
59 git clone "https://${host_path}" "$out_dir" 59 git clone "https://${host_path}" "$out_dir"
60 fi 60 fi
61 61
62 npx openapi-generator generate \ 62 npx @openapitools/openapi-generator-cli generate \
63 -i support/doc/api/openapi.yaml \ 63 -i support/doc/api/openapi.yaml \
64 -c "${lang_dir}/def.yaml" \ 64 -c "${lang_dir}/def.yaml" \
65 -t "${lang_dir}" \ 65 -t "${lang_dir}" \
66 -g "$lang" \ 66 -g "$lang" \
67 --skip-validate-spec
67 --git-host "${API_REPO_HOST}" \ 68 --git-host "${API_REPO_HOST}" \
68 --git-user-id "${API_URL_USERNAME}" \ 69 --git-user-id "${API_URL_USERNAME}" \
69 --git-repo-id "${git_repo_id}" \ 70 --git-repo-id "${git_repo_id}" \