Skip to content

Instantly share code, notes, and snippets.


b1a9id/ Secret

Created Sep 4, 2020
What would you like to do?
Spring Cloud OpenFeignサンプルの
@FeignClient(value = "sakes", url = "${producer.url}")
public interface SakeClient {
@GetMapping(value = "/sakes")
List<SakeResponse> list();
@GetMapping(value = "/sakes/{id}")
SakeResponse get(@PathVariable Integer id);
@PostMapping(value = "/sakes")
SakeResponse create(SakeCreateRequest request);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.