Last active
July 16, 2022 14:50
-
-
Save atesibrahim/15d2cd81ac14038e26d837ce4f620cd3 to your computer and use it in GitHub Desktop.
Feign Client
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@FeignClient(value = "bookApiClient", url = "${book-api.url}", configuration = BookClientFeignConfiguration.class) | |
public interface BookApiClient { | |
@GetMapping(value = "/books/{id}") | |
BookResponse getById(@PathVariable String id); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment