File tree 2 files changed +8
-4
lines changed
app/code/Magento/Webapi/Model/Rest/Swagger
dev/tests/api-functional/testsuite/Magento/Webapi
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,10 @@ protected function getGeneralInfo()
204
204
protected function generatePathInfo ($ methodName , $ httpMethodData , $ tagName )
205
205
{
206
206
$ methodData = $ httpMethodData [Converter::KEY_METHOD ];
207
- $ operationId = $ this ->typeProcessor ->getOperationName ($ tagName , $ methodData [Converter::KEY_METHOD ]) . ucfirst ($ methodName );
207
+
208
+ $ operationId = $ this ->typeProcessor ->getOperationName ($ tagName , $ methodData [Converter::KEY_METHOD ]);
209
+ $ operationId .= ucfirst ($ methodName );
210
+
208
211
$ pathInfo = [
209
212
'tags ' => [$ tagName ],
210
213
'description ' => $ methodData ['documentation ' ],
Original file line number Diff line number Diff line change 10
10
11
11
use Magento \TestFramework \Helper \Bootstrap ;
12
12
use Magento \Framework \App \ProductMetadataInterface ;
13
+ use Magento \Store \Model \StoreManagerInterface ;
13
14
14
15
/**
15
16
* Test REST schema generation mechanisms.
@@ -34,10 +35,10 @@ protected function setUp()
34
35
{
35
36
$ this ->_markTestAsRestOnly ("JSON generation tests are intended to be executed for REST adapter only. " );
36
37
37
- $ this ->storeCode = Bootstrap::getObjectManager ()->get (\ Magento \ Store \ Model \ StoreManagerInterface::class)
38
+ $ this ->storeCode = Bootstrap::getObjectManager ()->get (StoreManagerInterface::class)
38
39
->getStore ()->getCode ();
39
40
40
- $ this ->productMetadata = Bootstrap::getObjectManager ()->get (\ Magento \ Framework \ App \ ProductMetadataInterface::class);
41
+ $ this ->productMetadata = Bootstrap::getObjectManager ()->get (ProductMetadataInterface::class);
41
42
42
43
parent ::setUp ();
43
44
}
@@ -197,7 +198,7 @@ public function getExpectedMultiServiceData()
197
198
'required ' => true
198
199
],
199
200
[
200
- 'name ' => '$body ' ,
201
+ 'name ' => 'testModule5AllSoapAndRestV1NestedUpdatePutBody ' ,
201
202
'in ' => 'body ' ,
202
203
'schema ' => [
203
204
'required ' => [
You can’t perform that action at this time.
0 commit comments