[frontend] Fix openapi-generator script

pull/2/head
ogdbd3h5qze42igcv8wcrqk3 2023-03-18 17:56:54 +01:00
parent dc454800cd
commit 003a10b273
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
"name": "kibicara-frontend",
"version": "0.0.0",
"scripts": {
"openapi-generator": "openapi-generator generate -g typescript-angular --additional-properties=providedInRoot=true -o src/app/core/api -i http://localhost:8000/api/openapi.json",
"openapi-generator": "wget http://localhost:8000/api/openapi.json && openapi-generator generate -g typescript-angular --additional-properties=providedInRoot=true -o src/app/core/api -i openapi.json && rm openapi.json",
"ng": "ng",
"start": "ng serve",
"build": "ng build",