From 90bdee30ff7a5af36898341e1a3bc88fbdb17baf Mon Sep 17 00:00:00 2001 From: andrewsy-opal Date: Tue, 26 Nov 2024 12:57:04 -0500 Subject: [PATCH] add Makefile command to pull remote openapi spec --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 11c5004..9227d9d 100644 --- a/Makefile +++ b/Makefile @@ -5,3 +5,6 @@ OPENAPI_GEN=openapi-generator generate --enable-post-process-file -i api/openapi gen-openapi: $(OPENAPI_GEN) +gen-openapi-remote: + curl https://app.opal.dev/openapi.yaml > api/openapi.yaml + $(OPENAPI_GEN) \ No newline at end of file