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.

Supporting organizations: 
Drupal 8/9 Development of Redoc Field Formatter module
AttachmentSize
Manage Display Tab32.06 KB
Rendering REDOC167.5 KB

Project information

Releases