Skip to content

google.api.Http annotation support #274

Description

@rauanmayemir

Describe the solution you'd like
I would like to switch over to connect from grpc json transcoding, but prefer to hide grpc implementation details that heavily leak when you have your consumers call /package.Service/Method.

It would be great if connect supported some subset of google.api annotations or maybe come up with its own protobuf extension (the latter would be even better).

     service Messaging {
       rpc GetMessage(GetMessageRequest) returns (Message) {
         option (google.api.http) = {
             get: "/v1/{name=messages/*}"
         };
       }
     }

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions