Question
is there a way to dynamically construct request message of a grpc method based from proto?
I am new to gRPC and would like to do input validation of a gRPC service.
The testing would be carried out on a running server, and I would use grpcurl
to invoke each of the method with dummy input within a JSON filed.
There are number of fields and nested fields on request message, I been searching for any tool to dynamically construct an example JSON based on the protobuf, but seems there is nothing out there. The closest one I have found is protoc-gen-jsonschema which translate protobuf message to json schema and later construct an example JSON programatically.