We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18c2191 commit ca411e4Copy full SHA for ca411e4
tests/spec/OpenApiTest.php
@@ -250,10 +250,10 @@ public function testInvalidTopLevelField()
250
]);
251
$this->assertFalse($openapi->validate());
252
$this->assertEquals([
253
+ 'Invalid field: "AAAAAcomponents"',
254
'OpenApi is missing required property: openapi',
255
'OpenApi is missing required property: info',
256
'OpenApi is missing required property: paths',
- 'Invalid top level field: "AAAAAcomponents". More information can be obtained at https://spec.openapis.org/oas/v3.0.3.html#fixed-fields',
257
], $openapi->getErrors());
258
259
// // check default value of servers
0 commit comments