Problem
It would make the developer experience of using PBJ services much nicer if they could call them with REST/JSON as well as GRPC/Protobuf. Ideally PBJ would have option to generate REST/JSON API from all GRPC service definitions.
Solution
Add support to PBJ to expose GRPC services as REST/JSON as well. There is a spec from Google on how they should map https://cloud.google.com/endpoints/docs/grpc/transcoding . There is also performance work in another issue #574 to make JSON faster so hopefully performance could be as close as possible between GRPC and REST.
Alternatives
No response
Problem
It would make the developer experience of using PBJ services much nicer if they could call them with REST/JSON as well as GRPC/Protobuf. Ideally PBJ would have option to generate REST/JSON API from all GRPC service definitions.
Solution
Add support to PBJ to expose GRPC services as REST/JSON as well. There is a spec from Google on how they should map https://cloud.google.com/endpoints/docs/grpc/transcoding . There is also performance work in another issue #574 to make JSON faster so hopefully performance could be as close as possible between GRPC and REST.
Alternatives
No response