grpc-gateway
grpc-gateway copied to clipboard
gRPC to JSON proxy generator following the gRPC HTTP spec
An RPC proto oneof field documents the field not used in the path as an optional request parameter
### Steps you follow to reproduce the error: ``` rpc GetArticle (GetArticleRequest) returns (GetArticleResponse) { option (google.api.http) = { get: "/v2/articles/{slug}" additional_bindings: { get: "/v2/articles/{id.hex}" } }; } message GetArticleRequest...
## 🐛 Bug Report Since version `2.0.1`, the protobuf option `go_package` is required to generate the gateway or the OpenAPI schema. ## To Reproduce Using this `.proto` file: ```protobuf syntax...
## 🐛 Bug Report Null value is accepted for message-type field but not for same type map field. ## To Reproduce ```proto syntax = "proto3"; ... service SomeService { rpc...
# Please follow the general troubleshooting steps first: - [x] Update your protoc to the [latest version](https://github.com/google/protobuf/releases) - [x] Update your copy of `grpc-gateway` to the latest version from github....
The most reliable way to support streaming (including bidi) to web clients is RFC6455 websockets. Go has a rich implementation for websockets and grpc-gateway should enable grpc streaming endpoints with...
I haven't got a lot of time to debug this right now, but at work I've recently run into several instances of the generator _not_ erroring when specifying duplicate paths,...
Hi, I have a protobuf that defines one field message FileUpload { bytes fileContents = 1; } I want to be able to upload a file, and have the contents...
## 🐛 Bug Report When performing a HTTP call using an unsupported method, for example when making a POST request to a URL that only supports GET, I get a...
Hi guys, having following definition: ``` message Test { map filters = 1; } service TestService { rpc TestRpc(Test) returns (Test) { option (google.api.http) = { get: "/test" }; }...
This is a tracking issue for an incoming contribution based on a conversation had with @johanbrandhorst in Slack. > v3n: Would you accept a PR to add HttpBody in requests?...