diff --git a/main.go b/main.go index a2a8c69..52143ce 100644 --- a/main.go +++ b/main.go @@ -1,4 +1,4 @@ -//go:generate bash -c "mkdir -p codegen && go run github.com/deepmap/oapi-codegen/cmd/oapi-codegen@v1.12.2 -package codegen api/message_bus/openapi.yaml > codegen/message_bus_api.go" +//go:generate bash -c "mkdir -p codegen && go run github.com/deepmap/oapi-codegen/cmd/oapi-codegen@v1.12.2 -generate types,server,spec -package codegen api/message_bus/openapi.yaml > codegen/message_bus_api.go" package main