Use a Protobuf definition

Configure the plugin to call a Protobuf definition named hello-gateway.proto. For a full how-to guide, see Use the gRPC-Gateway plugin to proxy HTTP requests to a gRPC service.

Prerequisites

  • You have created a Protobuf definition

Set up the plugin

Add this section to your declarative configuration file:

_format_version: "3.0"
plugins:
  - name: grpc-gateway
    config:
      proto: path/to/hello-gateway.proto
Copied to clipboard!

Did this doc help?

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!