grpc-gateway
grpc-gateway copied to clipboard
gRPC to JSON proxy generator following the gRPC HTTP spec
Given the following messages and enumeration: ``` message NameCheckResponse { Result result = 1; } message MultiNameCheckResponse { map results = 1; } enum Result { AVAILABLE = 0; UNAVAILABLE...
It appears to be non-trivial to set up and use python and ruby protoc generators alongside this project. We should ship examples of integrations with these languages (at a minimum).
I am following the usage instructions. I have created all the stubs and now I arrived at this point: > Note: After generating the code for each of the stubs,...
I keep having to inspect the source code to remember how to declare http options that include values in the path.
protoc-gen-grpc-gateway should optionally generate the main function of the gateway server so that users don't need to write any golang codes unless they want to customize the entrypoint.
According to [the spec](https://github.com/google/googleapis/blob/master/google/api/http.proto), `google.api.CustomHttpPattern.kind` can be `*`. In this case the http pattern matches to any http method. Support this feature in the implementation of grpc-gateway.
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [google.golang.org/genproto](https://togithub.com/googleapis/go-genproto) | require | digest | `2b89144` -> `e5d39c1` | ---...
## 🐛 Bug Report Proto file with the following part: ``` service HealthService { rpc GetAllHealthChecks (GetAllHealthChecksRequest) returns (GetAllHealthChecksReply) { option (google.api.http) = { get: "/api/rest/v1/health/all" additional_bindings: [{ custom: {...
## 🐛 Bug Report [Response schema](https://github.com/grpc-ecosystem/grpc-gateway/blob/master/protoc-gen-openapiv2/options/openapiv2.proto#L224) states that ``` // `Schema` optionally defines the structure of the response. // If `Schema` is not provided, it means there is no content...
## 🚀 Feature As pointed out in #2858, users usually use the openapi configuration file when they can't edit the protobuf file for some reason. So it would be better...