Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
We allow the admin to enter a general overview, however some overview text per-endpoint is a reasonable expectation.
Proposed resolution
Add a config entity with a 'path' machine-name and a text overview field. Load the config entity in the detail callback (api/doc/{path}) and display the text.
Remaining tasks
Code
Tests
Review
User interface changes
Need to add an overview page and UI to manage config entities.
API changes
None
Comments
Comment #1
Wim LeersRelated to #2308745: Remove rest.settings.yml, use rest_resource config entities. If that happened, this could live as third-party settings on those.