@@ -696,10 +696,10 @@ public function testInvoke(): void
696696 ['Dummy ' ],
697697 [
698698 '200 ' => new Response ('Dummy collection ' , new \ArrayObject ([
699- 'application/ld+json ' => new MediaType (new \ArrayObject (new \ ArrayObject ( [
699+ 'application/ld+json ' => new MediaType (new \ArrayObject ([
700700 'type ' => 'array ' ,
701701 'items ' => ['$ref ' => '#/components/schemas/Dummy.OutputDto.jsonld ' ],
702- ]))) ,
702+ ])),
703703 ])),
704704 ],
705705 'Retrieves the collection of Dummy resources. ' ,
@@ -728,7 +728,7 @@ public function testInvoke(): void
728728 '201 ' => new Response (
729729 'Dummy resource created ' ,
730730 new \ArrayObject ([
731- 'application/ld+json ' => new MediaType (new \ArrayObject (new \ ArrayObject ( ['$ref ' => '#/components/schemas/Dummy.OutputDto.jsonld ' ]) )),
731+ 'application/ld+json ' => new MediaType (new \ArrayObject (['$ref ' => '#/components/schemas/Dummy.OutputDto.jsonld ' ])),
732732 ]),
733733 null ,
734734 new \ArrayObject (['getDummyItem ' => new Model \Link ('getDummyItem ' , new \ArrayObject (['id ' => '$response.body#/id ' ]), null , 'This is a dummy ' )])
@@ -751,7 +751,7 @@ public function testInvoke(): void
751751 new RequestBody (
752752 'The new Dummy resource ' ,
753753 new \ArrayObject ([
754- 'application/ld+json ' => new MediaType (new \ArrayObject (new \ ArrayObject ( ['$ref ' => '#/components/schemas/Dummy.jsonld ' ]) )),
754+ 'application/ld+json ' => new MediaType (new \ArrayObject (['$ref ' => '#/components/schemas/Dummy.jsonld ' ])),
755755 ]),
756756 true
757757 )
@@ -770,7 +770,7 @@ public function testInvoke(): void
770770 '200 ' => new Response (
771771 'Dummy resource ' ,
772772 new \ArrayObject ([
773- 'application/ld+json ' => new MediaType (new \ArrayObject (new \ ArrayObject ( ['$ref ' => '#/components/schemas/Dummy.OutputDto.jsonld ' ]) )),
773+ 'application/ld+json ' => new MediaType (new \ArrayObject (['$ref ' => '#/components/schemas/Dummy.OutputDto.jsonld ' ])),
774774 ])
775775 ),
776776 '404 ' => new Response (
@@ -1023,7 +1023,7 @@ public function testInvoke(): void
10231023 '201 ' => new Response (
10241024 'Dummy resource created ' ,
10251025 new \ArrayObject ([
1026- 'application/ld+json ' => new MediaType (new \ArrayObject (new \ ArrayObject ( ['$ref ' => '#/components/schemas/Dummy.OutputDto.jsonld ' ]) )),
1026+ 'application/ld+json ' => new MediaType (new \ArrayObject (['$ref ' => '#/components/schemas/Dummy.OutputDto.jsonld ' ])),
10271027 ]),
10281028 null ,
10291029 new \ArrayObject (['getDummyItem ' => new Model \Link ('getDummyItem ' , new \ArrayObject (['id ' => '$response.body#/id ' ]), null , 'This is a dummy ' )])
@@ -1074,7 +1074,7 @@ public function testInvoke(): void
10741074 '201 ' => new Response (
10751075 'Dummy resource created ' ,
10761076 new \ArrayObject ([
1077- 'application/ld+json ' => new MediaType (new \ArrayObject (new \ ArrayObject ( ['$ref ' => '#/components/schemas/Dummy.OutputDto.jsonld ' ]) )),
1077+ 'application/ld+json ' => new MediaType (new \ArrayObject (['$ref ' => '#/components/schemas/Dummy.OutputDto.jsonld ' ])),
10781078 ]),
10791079 null ,
10801080 new \ArrayObject (['getDummyItem ' => new Model \Link ('getDummyItem ' , new \ArrayObject (['id ' => '$response.body#/id ' ]), null , 'This is a dummy ' )])
@@ -1097,7 +1097,7 @@ public function testInvoke(): void
10971097 new RequestBody (
10981098 'Extended description for the new Dummy resource ' ,
10991099 new \ArrayObject ([
1100- 'application/ld+json ' => new MediaType (new \ArrayObject (new \ ArrayObject ( ['$ref ' => '#/components/schemas/Dummy.jsonld ' ]) )),
1100+ 'application/ld+json ' => new MediaType (new \ArrayObject (['$ref ' => '#/components/schemas/Dummy.jsonld ' ])),
11011101 ]),
11021102 false
11031103 ),
@@ -1266,7 +1266,7 @@ public function testInvoke(): void
12661266 '201 ' => new Response (
12671267 'Dummy resource created ' ,
12681268 new \ArrayObject ([
1269- 'application/ld+json ' => new MediaType (new \ArrayObject (new \ ArrayObject ( ['$ref ' => '#/components/schemas/Dummy.OutputDto.jsonld ' ]) )),
1269+ 'application/ld+json ' => new MediaType (new \ArrayObject (['$ref ' => '#/components/schemas/Dummy.OutputDto.jsonld ' ])),
12701270 ]),
12711271 null ,
12721272 new \ArrayObject (['getDummyItem ' => new Model \Link ('getDummyItem ' , new \ArrayObject (['id ' => '$response.body#/id ' ]), null , 'This is a dummy ' )])
@@ -1297,7 +1297,7 @@ public function testInvoke(): void
12971297 '201 ' => new Response (
12981298 'Dummy resource created ' ,
12991299 new \ArrayObject ([
1300- 'application/ld+json ' => new MediaType (new \ArrayObject (new \ ArrayObject ([]) )),
1300+ 'application/ld+json ' => new MediaType (new \ArrayObject ([] )),
13011301 ]),
13021302 null ,
13031303 new \ArrayObject (['getDummyItem ' => new Model \Link ('getDummyItem ' , new \ArrayObject (['id ' => '$response.body#/id ' ]), null , 'This is a dummy ' )])
@@ -1339,17 +1339,17 @@ public function testInvoke(): void
13391339 ['Dummy ' ],
13401340 [
13411341 '200 ' => new Response ('Dummy collection ' , new \ArrayObject ([
1342- 'application/ld+json ' => new MediaType (new \ArrayObject (new \ ArrayObject ( [
1342+ 'application/ld+json ' => new MediaType (new \ArrayObject ([
13431343 'type ' => 'array ' ,
13441344 'items ' => ['$ref ' => '#/components/schemas/Dummy.OutputDto.jsonld ' ],
1345- ]))) ,
1345+ ])),
13461346 ])),
13471347 '418 ' => new Response (
13481348 'A Teapot Exception ' ,
13491349 new \ArrayObject ([
1350- 'application/problem+json ' => new MediaType (new \ArrayObject (new \ ArrayObject ( [
1350+ 'application/problem+json ' => new MediaType (new \ArrayObject ([
13511351 '$ref ' => '#/components/schemas/DummyErrorResource ' ,
1352- ]))) ,
1352+ ])),
13531353 ]),
13541354 links: new \ArrayObject (['getDummyItem ' => new Model \Link ('getDummyItem ' , new \ArrayObject (['id ' => '$response.body#/id ' ]), null , 'This is a dummy ' )])
13551355 ),
0 commit comments