Rapidoc + Directus = Rapidocus
View interactive API documentation from OpenAPI Specification of your Directus and customize the appearance.
Settings
- Display mode: view | read | focused*
- Show method in navbar: false | as-plain-text | as-colored-text | as-colored-block*
- Navbar active item: left-bar* | colored-block
* default value
TODO
- Add saving settings.
- Add some settings from the documentation: https://rapidocweb.com/api.html
- Add saving external OpenAPIs and switching between them.
Installation
- Find this module on your Directus Marketplace and install it.
- Go to Settings -> Project Settings, in the Modules section, enable module Rapidocus.
- Reload the page.
- Go to Rapidocus in left menu.
Note
- Access to your Directus methods is determined by the current user's access settings.
- No need to add an access_token.
- Sandbox enabled, doesn't request scopes.
Shoutout
Based on the awesome rapidoc component by @mrin9
Inspired by https://github.com/u12206050/directus-extension-api-viewer-module
SRC: https://github.com/Belanchuk/directus-extension-rapidocus