Hi, this seems more like an rxjava question than a wiremock question to be honest. I don’t know if there is anyone here who has used rxjava but if there is hopefully they can chip in with an answer.
I haven’t used it before but there is an article here that has a section on changing the return types -
https://www.baeldung.com/retrofit-rxjava