I have a controller method, that takes in a POJO. Transaction type is a simple enum, but I want to use a custom conversion from the inbound value to the transaction type. I have written a converter: Micronaut is not using the type converter to transform the inbound value? Is some special registration process needed in order for Micronaut to
Tag: micronaut-client
Micronaut HTTP Client – Deserialize generic type – For API Testing
For API testing I have to parse the response of a request using io.micronaut.http.client.HttpClient I prefer to use the format given below. But It is not working. I am getting type cast error while trying to fetch User from response Currently I am using ObjectMapper (Jackson) like given below, Is there any way to use TypeReference directly with HttpClient retrieve