X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fopenapi-clients.sh;h=b11d0001e2313cbb76a39e031a3e9a99f683bff7;hb=55f0a7a76249dda79d2815bd5c1d81ccd8bc7002;hp=c799658e39ae23819278aa5765c85de054e61e5c;hpb=610d0be13b3d01f653ef269271dd667a57c85ef2;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/openapi-clients.sh b/scripts/openapi-clients.sh index c799658e3..b11d0001e 100755 --- a/scripts/openapi-clients.sh +++ b/scripts/openapi-clients.sh @@ -59,11 +59,12 @@ for lang in ${API_LANGS//:/ } ; do git clone "https://${host_path}" "$out_dir" fi - npx openapi-generator generate \ + npx @openapitools/openapi-generator-cli generate \ -i support/doc/api/openapi.yaml \ -c "${lang_dir}/def.yaml" \ -t "${lang_dir}" \ -g "$lang" \ + --skip-validate-spec \ --git-host "${API_REPO_HOST}" \ --git-user-id "${API_URL_USERNAME}" \ --git-repo-id "${git_repo_id}" \