This is a sample to solve github issue : spring-cloud/spring-cloud-openfeign#814
This is a BFF API (Backend for Frontend) that use services of com.example.api.my-api.
Start the api as a SpringBootApplication, with a JDK 19.
Swagger url : http://localhost:8091/api/swagger-ui/index.html
Use this endpoint, and see the result in debug mode in UserController.java :
GET on http://localhost:8091/api/v1.0/users/?page=0&size=5&sort=lastName%2CASC