From 7c2c4071cc844ba39998f922f8b1546a33a2cf57 Mon Sep 17 00:00:00 2001 From: Vladislav Syrochkin Date: Tue, 24 Jun 2025 13:16:31 +0500 Subject: [PATCH] feat(Makefile): add regenerate-openapi-local command --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index c0e1a7f..3f4dab6 100644 --- a/Makefile +++ b/Makefile @@ -62,3 +62,7 @@ format-api: check-api: cd api && \ poetry run ruff format . --check + +regenerate-openapi-local: + rm client/src/types/openapi-types.types \ + npx openapi-typescript http://localhost:8000/openapi -o client/src/types/openapi-types.ts