@@ -298,8 +298,8 @@ |
||
| 298 | 298 | $this->encoders = [ |
| 299 | 299 | new XmlEncoder([XmlEncoder::ROOT_NODE_NAME => 'item']), |
| 300 | 300 | new JsonEncoder( |
| 301 | - new JsonEncode([JsonEncode::OPTIONS => JSON_UNESCAPED_SLASHES]), |
|
| 302 | - new JsonDecode([JsonDecode::ASSOCIATIVE => false]) |
|
| 301 | + new JsonEncode([JsonEncode::OPTIONS => JSON_UNESCAPED_SLASHES]), |
|
| 302 | + new JsonDecode([JsonDecode::ASSOCIATIVE => false]) |
|
| 303 | 303 | ) |
| 304 | 304 | ]; |
| 305 | 305 | } |
@@ -166,12 +166,12 @@ |
||
| 166 | 166 | [ |
| 167 | 167 | 'application/json' => new OASv3\MediaType( |
| 168 | 168 | [ |
| 169 | - 'schema' => $errorSchema, |
|
| 169 | + 'schema' => $errorSchema, |
|
| 170 | 170 | ] |
| 171 | 171 | ), |
| 172 | 172 | 'application/xml' => new OASv3\MediaType( |
| 173 | 173 | [ |
| 174 | - 'schema' => $errorSchema, |
|
| 174 | + 'schema' => $errorSchema, |
|
| 175 | 175 | ] |
| 176 | 176 | ), |
| 177 | 177 | ] |