gRPC to JSON proxy generator following the gRPC HTTP spec

19.5K stars 2.3K forks 19.5K watchers Go BSD 3-Clause "New" or "Revised" License
go grpc grpc-gateway openapi rest-api restful-api swagger
4 Open Issues Need Help Last updated: Sep 14, 2025

Open Issues Need Help

View All on GitHub
bug help wanted

gRPC to JSON proxy generator following the gRPC HTTP spec

Go
#go#grpc#grpc-gateway#openapi#rest-api#restful-api#swagger
enhancement help wanted openapi

gRPC to JSON proxy generator following the gRPC HTTP spec

Go
#go#grpc#grpc-gateway#openapi#rest-api#restful-api#swagger

gRPC to JSON proxy generator following the gRPC HTTP spec

Go
#go#grpc#grpc-gateway#openapi#rest-api#restful-api#swagger

AI Summary: The task is to debug why the generated Swagger JSON for a gRPC service using grpc-gateway includes unexpected message definitions (AddRequest, AddResponse, protobufAny, rpcStatus) even though only one RPC method (Show) is exposed via HTTP annotations. The goal is to configure the `protoc-gen-openapiv2` plugin or the build process to only include the necessary message definitions for the exposed Show RPC method in the generated Swagger documentation.

Complexity: 4/5
bug openapi good first issue

gRPC to JSON proxy generator following the gRPC HTTP spec

Go
#go#grpc#grpc-gateway#openapi#rest-api#restful-api#swagger