← All repos

grpc-gateway

gRPC to JSON proxy generator following the gRPC HTTP spec

gogrpcgrpc-gatewayopenapirest-apirestful-apiswagger
Browse cluster: Haskell tooling and libraries
5,862commits
477contributors
3languages

Tech stack & purpose

gRPC-Gateway is a protoc plugin that generates a reverse-proxy server translating RESTful HTTP+JSON APIs into gRPC. It reads protobuf service definitions annotated with `google.api.http` specifications and generates gateway code that enables services to be accessed via both gRPC and traditional REST, helping developers provide backward-compatible or polyglot-friendly APIs alongside their gRPC implementations. The project is built in Go and generates Go code, relying on the Google protocol buffers compiler, Google's `google.api` annotations, and tools like buf for managing dependencies and code generation. It includes companion tools such as `protoc-gen-openapiv2` and `protoc-gen-openapiv3` for generating OpenAPI/Swagger documentation, plus `openapiv3-merge` for combining multiple OpenAPI 3.1 specifications into a single document. The gRPC-Gateway is part of the grpc-ecosystem and has been in production use since at least 2018.

Community & reference links

Languages

Go
89.8%
Starlark
9.5%
Makefile
0.7%

Contributors (top 30 of 477)