diff --git a/frontend/package.json b/frontend/package.json index f87cea5..823940c 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -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",