From 090c85c7ed3ef8a7b91969cd2eb20229f373fae2 Mon Sep 17 00:00:00 2001 From: Can Bezmen Date: Thu, 7 May 2020 19:26:25 +0300 Subject: [PATCH] Documentation added. --- docs/src/main/asciidoc/spring-cloud-openfeign.adoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/src/main/asciidoc/spring-cloud-openfeign.adoc b/docs/src/main/asciidoc/spring-cloud-openfeign.adoc index befcb323..8e0f4ec3 100644 --- a/docs/src/main/asciidoc/spring-cloud-openfeign.adoc +++ b/docs/src/main/asciidoc/spring-cloud-openfeign.adoc @@ -47,6 +47,9 @@ public interface StoreClient { @RequestMapping(method = RequestMethod.GET, value = "/stores") List getStores(); + @RequestMapping(method = RequestMethod.GET, value = "/stores") + Page getStores(Pageable pageable); + @RequestMapping(method = RequestMethod.POST, value = "/stores/{storeId}", consumes = "application/json") Store update(@PathVariable("storeId") Long storeId, Store store); }