Redoc Field Formatter
This module provides a field formatter for file or link fields that allows you to upload or link to an OpenAPI Specification (Swagger) file. It then uses the Redoc library to render this specification as interactive API documentation on your Drupal site.
Redoc Field Formatter module provides a field formatter for file as well as link fields, which allow uploading of Open API Specification (Swagger) in JSON or YAML format or point to a link that contains an Open API Specification. The field formatter then renders the Open API Specification using the Redoc Library for API Documentation.
This module can be used to Render API Documentation using Redoc, on any Drupal 8 Website.
Installation:
* After installation of Redoc field formatter module, clear all cache first (Important to do this).
* Goto manage display tab of any entity type page.
* Under File/Link fields select as "Redoc UI" formatter.
* Don't forgot to include "json", "yml" in "Allowed file extensions" while using file type.
Depends on
Dependencies of the latest stable release
- file Drupal core
- link Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 3.1.0 | Stable | 9–11 | Drupal 11 compatibility and fix asset dependency issue | Jul 28, 2026 |