Hi <#C03NAEH5LVA|general> I have a HTTP API that I...
# general
m
Hi #general I have a HTTP API that I call with normal POST requests but the exchanged messages are protobuf. Is the extension wiremock-grpc-extension allowing to use JSON matching on our requests/responses? Thank you
t
At the moment it only supports full gRPC rather than Protobuf over REST. I expect it wouldn’t be that hard to add, since it’d use the same JSON/Proto conversion approach.
m
Hi @Tom thank you for your quick reply! Do you mean that it could be possible to use wiremock-grpc-extension and add a custom conversion to Json?
t
I think it would need to be new functionality added to the extension that allowed the JSON<->Proto stuff to be used in the context of an ordinary REST mock i.e. without loading the gRPC servlet bits.
m
So does it mean that in order to do so, we should wait for a new functionality added? Not possible to add it ourselves? @Tom
t
I don’t think we’re going to have the bandwidth to get to it in the near future so I’d suggest raising a PR yourself if you feel like taking it on
👀 1
m
ok thank you for your feedback!
👍 1