[frontend] Fix openapi-generator script

This commit is contained in:
ogdbd3h5qze42igcv8wcrqk3 2023-03-18 17:56:54 +01:00
parent dc454800cd
commit 003a10b273

View file

@ -2,7 +2,7 @@
"name": "kibicara-frontend", "name": "kibicara-frontend",
"version": "0.0.0", "version": "0.0.0",
"scripts": { "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", "ng": "ng",
"start": "ng serve", "start": "ng serve",
"build": "ng build", "build": "ng build",