From f0d99be727e7ecb20d6440d7dc4b0de9265f818f Mon Sep 17 00:00:00 2001 From: Eugene Tulika Date: Sat, 25 Feb 2017 12:21:12 -0600 Subject: [PATCH] Fixed Doc Block for the dispatch method of the Rest Controller - provided more information on how dispatch method handles the Request --- app/code/Magento/Webapi/Controller/Rest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/code/Magento/Webapi/Controller/Rest.php b/app/code/Magento/Webapi/Controller/Rest.php index 6f31d332bc2ac..99e2be67d3347 100644 --- a/app/code/Magento/Webapi/Controller/Rest.php +++ b/app/code/Magento/Webapi/Controller/Rest.php @@ -200,6 +200,9 @@ public function setDeploymentConfig(\Magento\Framework\App\DeploymentConfig $dep /** * Handle REST request * + * Based on request decide is it schema request or API request and process accordingly. + * Throws Exception in case if cannot be processed properly. + * * @param \Magento\Framework\App\RequestInterface $request * @return \Magento\Framework\App\ResponseInterface */