Drupal Redoc Field Formatter

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.

Module can be downloaded from the Drupal project page Here

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.


8569-render-redoc.png

Comments
gluskin-samuel
New Member

How do you get try-it-out functionality using this approach?

dsudheesh
New Member

@Shai Gluskin the Redoc library does't support try out feature yet. https://github.com/Redocly/redoc

Not applicable
Affordable SEO services at VebXperts! We use the combination of the most modern on-site and off-site custom SEO strategies to deliver the best results.
Version history
Last update:
‎05-09-2019 10:38 PM
Updated by: