This is not supported at the moment because if the client target interface has a request method with no parameters, Feign will not call Mocca encoder, as seen here.
Probably the solution here will require a modification in Feign to support calling custom encoder even if request method has no parameters.
This is not supported at the moment because if the client target interface has a request method with no parameters, Feign will not call Mocca encoder, as seen here.
Probably the solution here will require a modification in Feign to support calling custom encoder even if request method has no parameters.