]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/openapi-clients.sh
Update translations and support fa
[github/Chocobozzz/PeerTube.git] / scripts / openapi-clients.sh
index c799658e39ae23819278aa5765c85de054e61e5c..b11d0001e2313cbb76a39e031a3e9a99f683bff7 100755 (executable)
@@ -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}" \