Commit f215c52f by Spencer Gibb

updated docs to reflect that feign will now handle Generics

parent 8756a888
...@@ -384,7 +384,7 @@ public class Application extends FeignConfigurer { ...@@ -384,7 +384,7 @@ public class Application extends FeignConfigurer {
---- ----
public interface StoreClient { public interface StoreClient {
@RequestMapping(method = RequestMethod.GET, value = "/stores") @RequestMapping(method = RequestMethod.GET, value = "/stores")
Stores getStores(); List<Store> getStores();
@RequestMapping(method = RequestMethod.POST, value = "/stores/{storeId}", consumes = "application/json") @RequestMapping(method = RequestMethod.POST, value = "/stores/{storeId}", consumes = "application/json")
Store update(@PathParameter("storeId") Long storeId, Store store); Store update(@PathParameter("storeId") Long storeId, Store store);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment