1

I am new to feign. I have a feign client for a token end point. Apparently we are hitting the /token end point to get the a json string {"token" : "xxxxyyyxxx", "scope": "EPServices","expires-in": "3600"}. I have a pojo class to map these attributes.I want to use feign decoder to do that. How do I do that. The return type of my feign client method is String.

Rini
  • 21
  • 3
  • Take a look at this example: [How to use OpenFeign to get a pojo array?](https://stackoverflow.com/questions/55012543/how-to-use-openfeign-to-get-a-pojo-array/55033529#55033529) – Michał Ziober Jun 22 '20 at 21:34

0 Answers0