From 3af461b418729236bc53ff4bf1d80f4cc68c011f Mon Sep 17 00:00:00 2001 From: Adam Pasyniuk Date: Fri, 15 Dec 2023 14:27:10 +0100 Subject: [PATCH] Update api to master --- castai/sdk/generate.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/castai/sdk/generate.go b/castai/sdk/generate.go index d95deab7..d4c80472 100644 --- a/castai/sdk/generate.go +++ b/castai/sdk/generate.go @@ -2,7 +2,7 @@ package sdk //go:generate echo "generating sdk for: ${API_TAGS}" //go:generate go install github.com/deepmap/oapi-codegen/cmd/oapi-codegen@v1.11.0 -//go:generate oapi-codegen -o api.gen.go --old-config-style -generate types -include-tags $API_TAGS -package sdk https://api-adamp.localenv.cast.ai/v1/spec/openapi.json -//go:generate oapi-codegen -o client.gen.go --old-config-style -templates codegen/templates -generate client -include-tags $API_TAGS -package sdk https://api-adamp.localenv.cast.ai/v1/spec/openapi.json +//go:generate oapi-codegen -o api.gen.go --old-config-style -generate types -include-tags $API_TAGS -package sdk https://api.cast.ai/v1/spec/openapi.json +//go:generate oapi-codegen -o client.gen.go --old-config-style -templates codegen/templates -generate client -include-tags $API_TAGS -package sdk https://api.cast.ai/v1/spec/openapi.json //go:generate go install github.com/golang/mock/mockgen //go:generate mockgen -source client.gen.go -destination mock/client.go . ClientInterface