Mocking your gRPC APIs.
booking
method would look something like the following:
OK
status, the response body is not used and a Status Reason
must be provided.
An example response body is generated for your stub after selecting the service and method, to help guide the shape of
your responses.
An example request body is also generated for JSON equality body matchers that you add to your stub.
--descriptor_set_out
option to your protoc
command.
For example,