1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 09:49:20 +02:00

Try to fix openapi script

This commit is contained in:
Chocobozzz 2021-08-11 14:38:07 +02:00
parent 5b075bc549
commit eb8bd9ab1a
No known key found for this signature in database
GPG key ID: 583A612D890159BE
4 changed files with 22 additions and 291 deletions

View file

@ -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}" \