JSON mapping at zuul API Gateway microservice source code code example
Example: spring boot eureka , zual hystrix, rest api docs
@Autowired
private EurekaClient discoveryClient;
public String serviceUrl() {
InstanceInfo instance = discoveryClient.getNextServerFromEureka("STORES", false);
return instance.getHomePageUrl();
}