Browse Source

updated docs to reflect that feign will now handle Generics

pull/6/head
Spencer Gibb 10 years ago
parent
commit
f215c52f3c
  1. 2
      docs/src/main/asciidoc/spring-cloud-netflix.adoc

2
docs/src/main/asciidoc/spring-cloud-netflix.adoc

@ -384,7 +384,7 @@ public class Application extends FeignConfigurer { @@ -384,7 +384,7 @@ public class Application extends FeignConfigurer {
----
public interface StoreClient {
@RequestMapping(method = RequestMethod.GET, value = "/stores")
Stores getStores();
List<Store> getStores();
@RequestMapping(method = RequestMethod.POST, value = "/stores/{storeId}", consumes = "application/json")
Store update(@PathParameter("storeId") Long storeId, Store store);

Loading…
Cancel
Save