From 654ccf2dea292d53f0ed10dfffd787609cfd1a21 Mon Sep 17 00:00:00 2001 From: gandrianakis Date: Thu, 3 Sep 2015 12:15:56 +0300 Subject: [PATCH] Replaced incorrect @PathParameter with @PathVariable --- docs/src/main/asciidoc/spring-cloud-netflix.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/spring-cloud-netflix.adoc b/docs/src/main/asciidoc/spring-cloud-netflix.adoc index 774dce8b..179a044e 100644 --- a/docs/src/main/asciidoc/spring-cloud-netflix.adoc +++ b/docs/src/main/asciidoc/spring-cloud-netflix.adoc @@ -706,7 +706,7 @@ public interface StoreClient { List getStores(); @RequestMapping(method = RequestMethod.POST, value = "/stores/{storeId}", consumes = "application/json") - Store update(@PathParameter("storeId") Long storeId, Store store); + Store update(@PathVariable("storeId") Long storeId, Store store); } ----