diff --git a/Makefile b/Makefile index 4007b5f..29c9dcd 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,8 @@ generate: protoc -I ./api \ --go_out ./proto --go_opt paths=source_relative \ --go-grpc_out ./proto --go-grpc_opt paths=source_relative \ - --grpc-gateway_out ./proto --grpc-gateway_opt paths=source_relative \ - --swagger_out=allow_merge=true,merge_file_name=main:./proto \ + --grpc-gateway_out ./proto --grpc-gateway_opt paths=source_relative,generate_unbound_methods=true \ + --openapiv2_out ./proto --openapiv2_opt allow_merge=true,merge_file_name=main \ ./api/main.proto run: diff --git a/go.mod b/go.mod index cb26e6c..8f428aa 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,6 @@ module ${REPO_NAME_SNAKE} go 1.22 require ( - github.com/go-pkgz/routegroup v1.1.1 github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 google.golang.org/genproto/googleapis/api v0.0.0-20240513163218-0867130af1f8 google.golang.org/grpc v1.64.0