Documentation added.

This commit is contained in:
Can Bezmen
2020-05-07 19:26:25 +03:00
parent 88633c7f54
commit 090c85c7ed

View File

@@ -47,6 +47,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);
}