Interface DistanceApi

All Known Implementing Classes:
DistanceApiFallback

@FeignClient(value="distance", url="${open-feign.distance.endpoint}", configuration=OpenFeignDistanceConfiguration.class, fallback=DistanceApiFallback.class) public interface DistanceApi
Calls Distance API.
  • Method Details

    • getDistance

      @GetMapping("?route={route}") DistanceHolder getDistance(@PathVariable String route)