DEV Community

Jikai Zhang
Jikai Zhang

Posted on

Debugging gRPC service using swagger.

What is gRPC-swagger

gRPC-swagger is a gRPC debuggling tool developed based on gRPC reflection. It can be used to list and call gRPC methods using swagger-ui conveniently. As gRPC-swagger is based on gRPC reflection, you only need to enable reflection feature when starting the service and no need modifying proto files and related code implementations.

Feature List

  • Easy to use, just need enable reflection when starting the service, without modifying protos and related implementations.
  • Integrated with swagger-ui, you can see the definitions of gRPC methods and parameters conveniently.
  • Simple to call gRPC method.

Screenshots

Live Demo

demo

You can visit our github project for more details.

Discussion (0)