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:
parent
5b075bc549
commit
eb8bd9ab1a
4 changed files with 22 additions and 291 deletions
|
@ -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}" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue