Browse Source

Sync docs from 2.2.x to gh-pages

gh-pages
buildmaster 5 years ago
parent
commit
12566ca3f2
  1. 3
      2.2.x/reference/html/index.html
  2. 3
      2.2.x/reference/html/spring-cloud-openfeign.html

3
2.2.x/reference/html/index.html

@ -176,6 +176,9 @@ public interface StoreClient { @@ -176,6 +176,9 @@ public interface StoreClient {
@RequestMapping(method = RequestMethod.GET, value = "/stores")
List<Store> getStores();
@RequestMapping(method = RequestMethod.GET, value = "/stores")
Page<Store> getStores(Pageable pageable);
@RequestMapping(method = RequestMethod.POST, value = "/stores/{storeId}", consumes = "application/json")
Store update(@PathVariable("storeId") Long storeId, Store store);
}</code></pre>

3
2.2.x/reference/html/spring-cloud-openfeign.html

@ -176,6 +176,9 @@ public interface StoreClient { @@ -176,6 +176,9 @@ public interface StoreClient {
@RequestMapping(method = RequestMethod.GET, value = "/stores")
List&lt;Store&gt; getStores();
@RequestMapping(method = RequestMethod.GET, value = "/stores")
Page&lt;Store&gt; getStores(Pageable pageable);
@RequestMapping(method = RequestMethod.POST, value = "/stores/{storeId}", consumes = "application/json")
Store update(@PathVariable("storeId") Long storeId, Store store);
}</code></pre>

Loading…
Cancel
Save