diff --git a/Makefile b/Makefile index 142617d9f..bf1253cac 100644 --- a/Makefile +++ b/Makefile @@ -123,7 +123,7 @@ generate: install-tools generate-openapi ## Run all code generations CGO_ENABLED=0 go generate ./... generate-openapi: install-tools ## Run openapi code generation and format it - go run github.com/swaggo/swag/cmd/swag fmt --exclude pipeline/rpc/proto + CGO_ENABLED=0 go run github.com/swaggo/swag/cmd/swag fmt --exclude pipeline/rpc/proto CGO_ENABLED=0 go generate cmd/server/openapi.go generate-license-header: install-tools