This project is not covered by Drupal’s security advisory policy.

OpenApi Redoc UI Converter

This module provides a Redoc Converter which will convert your OpenApi file into a valid document format. It provides a functionality where you can show your OpenApi document formatted style on the Page, along with your node data.

1. Install module using Drush or using Drupal UI

2. For this, you need to add redoc tag in you page while adding/editing a node.

3. The format of the field should be full HTML to support the redoc tag, it will not work with any other format if not supported.

4. The format of the tag should be like below:-

  <redoc spec-url="testapipath/testname.json">
    </redoc>

Only local images are allowed.

URL is the open API valid URL or the valid file path. The format of the file should be json or yml. If any other format is used than the module will not work as expected.

5. You can override the css by defining your own css for this page or entity type.

Supporting organizations: 
Development

Project information

Releases