Moving to gRPC + REST + OpenAPI v3 #36
aeneasr
started this conversation in
Show and tell
Replies: 0 comments 2 replies
-
While I like the idea of OpenAPI, the actual API bindings are not pleasant to work with. With gRPC, we've been enjoying the developer experience so far. We've been validating gRPC-Web for our internal APIs and it works great. (basically, we send binary payload to gRPC services over HTTP/1.1 from the browser) I suppose, JSON transcoding would be another good approach to explore for public APIs: https://cloud.google.com/endpoints/docs/grpc/transcoding |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The purpose of this discussion is to collect knowledge around gRPC, REST, OpenAPI v3. I did a spike trying to implement gRPC along with gRPC-gateway for REST support, and use gRPC-gateway to generate Swagger / OpenAPI v3.
The following things have been found:
oneof
will render all options to Swagger.One can use buf to run the plguins. See the spike buf.gen.yaml config!
Beta Was this translation helpful? Give feedback.
All reactions