VILLASweb-backend-go/doc/api/generateapidoc.sh

9 lines
No EOL
191 B
Bash
Executable file

#!/usr/bin/env bash
cd ../../
go mod tidy
swag init -p pascalcase -g "start.go" -o "./doc/api/"
cd -
redoc-cli bundle --cdn --title "VILLASweb Backend API" --output index.html swagger.json