How to defined OpenFeign Response Object when using SpringCloud ?
There are two regular way to do that :
1、With strong type of java;
2、Return String object Or JSON ( exp: JSONObject);
How to defined OpenFeign Response Object when using SpringCloud ?
There are two regular way to do that :
1、With strong type of java;
2、Return String object Or JSON ( exp: JSONObject);
It's generally a good idea to use "static typing" if you can. You can see this SO answer that can help you to understand why.