More sane swagger-typescript-api generator parameters

This commit is contained in:
Imbus 2024-03-29 16:36:47 +01:00
parent 45e891ed2c
commit 0792c6b8a3

View file

@ -105,7 +105,11 @@ docs:
swag init -outputTypes go swag init -outputTypes go
api: ./docs/swagger.json api: ./docs/swagger.json
npx swagger-typescript-api --path ./docs/swagger.json --output ../frontend/src/API --name GAPI.ts npx swagger-typescript-api \
--api-class-name GenApi \
--path ./docs/swagger.json \
--output ../frontend/src/API \
--name GenApi.ts \
./docs/swagger.json: ./docs/swagger.json:
swag init -outputTypes json swag init -outputTypes json