From 1385011769b1e36bed8a352b6508f34b2841df4e Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Fri, 29 Mar 2024 18:41:20 +0100 Subject: [PATCH] Make swagger-typescript-api makefile target wipe the previous version --- backend/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/Makefile b/backend/Makefile index 41fe1a3..0ffc557 100644 --- a/backend/Makefile +++ b/backend/Makefile @@ -106,6 +106,7 @@ docs: swag init -outputTypes go api: ./docs/swagger.json + rm ../frontend/src/API/GenApi.ts npx swagger-typescript-api \ --api-class-name GenApi \ --path ./docs/swagger.json \