Skip to content
This repository was archived by the owner on May 20, 2019. It is now read-only.

Commit f5b78dc

Browse files
nuzilVasiliev.A
authored andcommitted
Clean the code
1 parent 82a7783 commit f5b78dc

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

app/code/Magento/Webapi/Controller/Rest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@
2929
*/
3030
class Rest implements \Magento\Framework\App\FrontControllerInterface
3131
{
32-
/** Path for accessing REST API schema */
33-
const SCHEMA_PATH = '/schema';
34-
3532
/**
3633
* @var Router
3734
* @deprecated 100.1.0

app/code/Magento/Webapi/Controller/Rest/SynchronousRequestProcessor.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
*/
1818
class SynchronousRequestProcessor implements RequestProcessorInterface
1919
{
20-
const SYNC_PATH = "/V1/";
21-
2220
/**
2321
* @var RestResponse
2422
*/

app/code/Magento/Webapi/etc/webapi_rest/di.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@
7575
<type name="Magento\Webapi\Controller\Rest\RequestProcessorPool">
7676
<arguments>
7777
<argument name="requestProcessors" xsi:type="array">
78-
<item name="scheme" xsi:type="string">Magento\Webapi\Controller\Rest\SchemaRequestProcessor</item>
79-
<item name="V1" xsi:type="string">Magento\Webapi\Controller\Rest\SynchronousRequestProcessor</item>
78+
<item name="schema" xsi:type="string">Magento\Webapi\Controller\Rest\SchemaRequestProcessor</item>
79+
<item name="V1" xsi:type="string">Magento\Webapi\Controller\Rest\SynchronousRequestProcessor</item>
8080
</argument>
8181
</arguments>
8282
</type>

0 commit comments

Comments
 (0)