@@ -695,10 +695,10 @@ public function testInvoke(): void
695695 ['Dummy ' ],
696696 [
697697 '200 ' => new Response ('Dummy collection ' , new \ArrayObject ([
698- 'application/ld+json ' => new MediaType (new \ArrayObject (new \ ArrayObject ( [
698+ 'application/ld+json ' => new MediaType (new \ArrayObject ([
699699 'type ' => 'array ' ,
700700 'items ' => ['$ref ' => '#/components/schemas/Dummy.OutputDto.jsonld ' ],
701- ]))) ,
701+ ])),
702702 ])),
703703 ],
704704 'Retrieves the collection of Dummy resources. ' ,
@@ -727,7 +727,7 @@ public function testInvoke(): void
727727 '201 ' => new Response (
728728 'Dummy resource created ' ,
729729 new \ArrayObject ([
730- 'application/ld+json ' => new MediaType (new \ArrayObject (new \ ArrayObject ( ['$ref ' => '#/components/schemas/Dummy.OutputDto.jsonld ' ]) )),
730+ 'application/ld+json ' => new MediaType (new \ArrayObject (['$ref ' => '#/components/schemas/Dummy.OutputDto.jsonld ' ])),
731731 ]),
732732 null ,
733733 new \ArrayObject (['getDummyItem ' => new Model \Link ('getDummyItem ' , new \ArrayObject (['id ' => '$response.body#/id ' ]), null , 'This is a dummy ' )])
@@ -750,7 +750,7 @@ public function testInvoke(): void
750750 new RequestBody (
751751 'The new Dummy resource ' ,
752752 new \ArrayObject ([
753- 'application/ld+json ' => new MediaType (new \ArrayObject (new \ ArrayObject ( ['$ref ' => '#/components/schemas/Dummy.jsonld ' ]) )),
753+ 'application/ld+json ' => new MediaType (new \ArrayObject (['$ref ' => '#/components/schemas/Dummy.jsonld ' ])),
754754 ]),
755755 true
756756 )
@@ -769,7 +769,7 @@ public function testInvoke(): void
769769 '200 ' => new Response (
770770 'Dummy resource ' ,
771771 new \ArrayObject ([
772- 'application/ld+json ' => new MediaType (new \ArrayObject (new \ ArrayObject ( ['$ref ' => '#/components/schemas/Dummy.OutputDto.jsonld ' ]) )),
772+ 'application/ld+json ' => new MediaType (new \ArrayObject (['$ref ' => '#/components/schemas/Dummy.OutputDto.jsonld ' ])),
773773 ])
774774 ),
775775 '404 ' => new Response (
@@ -1022,7 +1022,7 @@ public function testInvoke(): void
10221022 '201 ' => new Response (
10231023 'Dummy resource created ' ,
10241024 new \ArrayObject ([
1025- 'application/ld+json ' => new MediaType (new \ArrayObject (new \ ArrayObject ( ['$ref ' => '#/components/schemas/Dummy.OutputDto.jsonld ' ]) )),
1025+ 'application/ld+json ' => new MediaType (new \ArrayObject (['$ref ' => '#/components/schemas/Dummy.OutputDto.jsonld ' ])),
10261026 ]),
10271027 null ,
10281028 new \ArrayObject (['getDummyItem ' => new Model \Link ('getDummyItem ' , new \ArrayObject (['id ' => '$response.body#/id ' ]), null , 'This is a dummy ' )])
@@ -1073,7 +1073,7 @@ public function testInvoke(): void
10731073 '201 ' => new Response (
10741074 'Dummy resource created ' ,
10751075 new \ArrayObject ([
1076- 'application/ld+json ' => new MediaType (new \ArrayObject (new \ ArrayObject ( ['$ref ' => '#/components/schemas/Dummy.OutputDto.jsonld ' ]) )),
1076+ 'application/ld+json ' => new MediaType (new \ArrayObject (['$ref ' => '#/components/schemas/Dummy.OutputDto.jsonld ' ])),
10771077 ]),
10781078 null ,
10791079 new \ArrayObject (['getDummyItem ' => new Model \Link ('getDummyItem ' , new \ArrayObject (['id ' => '$response.body#/id ' ]), null , 'This is a dummy ' )])
@@ -1096,7 +1096,7 @@ public function testInvoke(): void
10961096 new RequestBody (
10971097 'Extended description for the new Dummy resource ' ,
10981098 new \ArrayObject ([
1099- 'application/ld+json ' => new MediaType (new \ArrayObject (new \ ArrayObject ( ['$ref ' => '#/components/schemas/Dummy.jsonld ' ]) )),
1099+ 'application/ld+json ' => new MediaType (new \ArrayObject (['$ref ' => '#/components/schemas/Dummy.jsonld ' ])),
11001100 ]),
11011101 false
11021102 ),
@@ -1265,7 +1265,7 @@ public function testInvoke(): void
12651265 '201 ' => new Response (
12661266 'Dummy resource created ' ,
12671267 new \ArrayObject ([
1268- 'application/ld+json ' => new MediaType (new \ArrayObject (new \ ArrayObject ( ['$ref ' => '#/components/schemas/Dummy.OutputDto.jsonld ' ]) )),
1268+ 'application/ld+json ' => new MediaType (new \ArrayObject (['$ref ' => '#/components/schemas/Dummy.OutputDto.jsonld ' ])),
12691269 ]),
12701270 null ,
12711271 new \ArrayObject (['getDummyItem ' => new Model \Link ('getDummyItem ' , new \ArrayObject (['id ' => '$response.body#/id ' ]), null , 'This is a dummy ' )])
@@ -1301,17 +1301,17 @@ public function testInvoke(): void
13011301 ['Dummy ' ],
13021302 [
13031303 '200 ' => new Response ('Dummy collection ' , new \ArrayObject ([
1304- 'application/ld+json ' => new MediaType (new \ArrayObject (new \ ArrayObject ( [
1304+ 'application/ld+json ' => new MediaType (new \ArrayObject ([
13051305 'type ' => 'array ' ,
13061306 'items ' => ['$ref ' => '#/components/schemas/Dummy.OutputDto.jsonld ' ],
1307- ]))) ,
1307+ ])),
13081308 ])),
13091309 '418 ' => new Response (
13101310 'A Teapot Exception ' ,
13111311 new \ArrayObject ([
1312- 'application/problem+json ' => new MediaType (new \ArrayObject (new \ ArrayObject ( [
1312+ 'application/problem+json ' => new MediaType (new \ArrayObject ([
13131313 '$ref ' => '#/components/schemas/DummyErrorResource ' ,
1314- ]))) ,
1314+ ])),
13151315 ]),
13161316 links: new \ArrayObject (['getDummyItem ' => new Model \Link ('getDummyItem ' , new \ArrayObject (['id ' => '$response.body#/id ' ]), null , 'This is a dummy ' )])
13171317 ),
0 commit comments