hashgraph / hashgraph/pbj

Support GRPC REST Transcoding

Open
#644 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
44
Forks
15
Avg merge
1d 15h
Merged PRs (30d)
12

Description

### 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 https://github.com/hashgraph/pbj/pull/574 to make JSON faster so hopefully performance could be as close as possible between GRPC and REST.

### Alternatives

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.