add ent to taskfile for swag generator

This commit is contained in:
Hayden 2022-08-30 10:05:31 -08:00
parent 3829e2e3f5
commit c780a0d3ac

View file

@ -4,7 +4,7 @@ tasks:
api:
cmds:
- cd backend/app/api/ && swag fmt
- cd backend/app/api/ && swag init --dir=./,../../internal,../../pkgs
- cd backend/app/api/ && swag init --dir=./,../../internal,../../pkgs,../../ent
# - |
# npx swagger-typescript-api \
# --path ./backend/app/api/docs/swagger.json \