Belanchuk / directus-extension-rapidocus

View any OpenAPI Specification in your Directus and customize the appearance.
MIT License
4 stars 0 forks source link

Rapidocus OpenApi Viewer

Rapidoc + Directus = Rapidocus

View any OpenAPI Specification in your Directus and customize the appearance.

Settings

General

Navigation

* default value

TODO

  1. Add Api Viewer Module Compatibility.

Installation

  1. Find this module on your Directus Marketplace and install it.
  2. If Api Viewer Module is installed, disable it.
  3. Go to Settings -> Project Settings, in the Modules section, enable module Rapidocus.
  4. Reload the page.
  5. Go to Rapidocus in left menu.

Note

  1. Access to your Directus methods is determined by the current user's access settings.
  2. No need to add an access_token.
  3. Sandbox enabled, doesn't request scopes.
  4. Incompatible with the Api Viewer Module.
  5. If during local development you have a duplicate link to the server, then set the Directus variable to PUBLIC_URL=http://localhost:8055. Correct the link if necessary.

Shoutout

Based on the awesome rapidoc component by @mrin9

Inspired by https://github.com/u12206050/directus-extension-api-viewer-module