Skip to content

Commit

Permalink
Update api to master
Browse files Browse the repository at this point in the history
  • Loading branch information
apasyniuk committed Dec 15, 2023
1 parent 3c1707f commit 3af461b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions castai/sdk/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3af461b

Please sign in to comment.