Problem/Motivation

Enabling this module enables openapi_jsonapi, openapi, schemata, schemata_json_schema but not Core's jsonapi module. Visiting /openapi/jsonapi?_format=json will then provide fatal error

The website encountered an unexpected error. Try again later.<br><br><em class="placeholder">Error</em>: Class "Drupal\jsonapi\Routing\Routes" not found in <em class="placeholder">[constant expression]()</em> (line <em class="placeholder">59</em> of <em class="placeholder">modules/contrib/openapi_jsonapi/src/Plugin/openapi/OpenApiGenerator/JsonApiGenerator.php</em>). <pre class="backtrace">Drupal\openapi_jsonapi\Plugin\openapi\OpenApiGenerator\JsonApiGenerator::create() (Line: 21)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

sokru created an issue. See original summary.

sokru’s picture

Status: Active » Reviewed & tested by the community

Self RTBC'ing since this is really simple fix. Maintainers feel free to change the status if you require tests or something.

borisson_’s picture

Doesn't look like it should require tests, I agree with this change. RTBC++