Skip to content

Consider using/supporting google.api.HttpRule MethodOptions extension #32

@micolous

Description

@micolous

grpc-api-gateway defines two different google.protobuf.MethodOptions extensions. ProtoEndpointBindings looks like a type which is to be used in a similar way to google.api.HttpRule:

// ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project.
ProtoEndpointBinding http = 1190;

And the field names look very similar.

Supporting google.api.HttpRule would mean an existing application can more easily migrate to grpc-api-gateway for unary-unary RPCs, or use its protoc-gen-openapiv3 in conjunction with another request transcoder.

Though, this wouldn’t work for streaming RPCs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions