Generate OpenAPI JSON from RestWS endpoints.

For D9+, see https://www.drupal.org/project/openapi

Getting started

  1. Visit /admin/config/services/restws_openapi and configure the entity types to show in the documentation
  2. Grant the "access restws openapi" permission to a role
  3. As a user with that role, visit /openapi.json

For use with Swagger UI and related tools you will need https://www.drupal.org/project/cors

Supporting organizations: 

Project information

Releases