You are here

constant RequestTest::EXPECTED_STRUCTURE in OpenAPI 8

List of required array keys for response schema.

File

tests/src/Functional/RequestTest.php, line 30

Class

RequestTest
Tests requests OpenAPI routes.

Namespace

Drupal\Tests\openapi\Functional

Code

const EXPECTED_STRUCTURE = [
  'swagger' => 'swagger',
  'info' => [
    'description' => 'description',
    'version' => 'version',
    'title' => 'title',
  ],
  'paths' => 'paths',
];