%PDF- %PDF-
| Direktori : /home/vacivi36/intranet.vacivitta.com.br/protected/modules/rest/docs/swagger/ |
| Current File : /home/vacivi36/intranet.vacivitta.com.br/protected/modules/rest/docs/swagger/build-all.sh |
#!/bin/bash
for filename in *.yaml; do
echo "--------- $filename ---------------------"
npx redoc-cli bundle --cdn -o ../html/$(basename "$filename" .yaml).html $filename
# We need to use 'htm' as extension, since spectacle removes all other html files from target dir
#/usr/bin/spectacle "$filename" -t "../html/" -f "$(basename "$filename" .yaml).htm"
done