More sane swagger-typescript-api generator parameters
This commit is contained in:
parent
45e891ed2c
commit
0792c6b8a3
1 changed files with 5 additions and 1 deletions
|
@ -105,7 +105,11 @@ docs:
|
|||
swag init -outputTypes go
|
||||
|
||||
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:
|
||||
swag init -outputTypes json
|
||||
|
|
Loading…
Reference in a new issue