Install the module
Last updated on
11 April 2019
You need to install both the Swagger UI Field Formatter module and Swagger UI library in order for the content to render correctly.
Install the Swagger UI Field Formatter module using Composer:
$ composer require 'drupal/swagger_ui_formatter:^2.0'
For more information, see Using Composer to manage Drupal site dependencies.
Download and install the Swagger UI library:
- Download the Swagger UI library from the following location:
https://github.com/swagger-api/swagger-ui/releases - Extract the archive.
- Rename the folder to:
swagger-ui
orswagger_ui
- Move the renamed folder to the following location:
[DRUPAL ROOT]/libraries/swagger-ui
where [DRUPAL ROOT] is a placeholder for the actual Drupal root path.
Help improve this page
Page status: No known problems
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion