%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/vacivi36/intranet.vacivitta.com.br/protected/modules/wiki/docs/swagger/
Upload File :
Create Path :
Current File : /home/vacivi36/intranet.vacivitta.com.br/protected/modules/wiki/docs/swagger/build.sh

#!/bin/bash

for filename in *.yaml; do
    echo "--------- $filename ---------------------"

    npx redoc-cli bundle --cdn -o $(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

Zerion Mini Shell 1.0