View your Directus Api documentation within the App.
Documentation is based on the permissions for the current user.
npm install directus-extension-api-viewer
- Download the latest release
- Unzip and move
index.js
to[YOUR_PROJECT]/extensions/modules/api-viewer/index.js
Enable the module under Project Settings
Based on the awesome rapidoc component by @mrin9
- Pull repo to
[YOUR_PROJECT]/packages/modules/api-viewer
- Run
npm install
- Run
npm run dev
- Watches and rebuilds on changes
- Moves built index.js to
[YOUR_PROJECT]/extensions/modules/api-viewer/index.js
- Run
npm run build
- Builds index.js to
[YOUR_PROJECT]/extensions/modules/api-viewer/index.js
- Builds index.js to
- Fork this repo
- Create a new branch
feat/[YOUR_FEATURE]
fix/[YOUR_BUG | ISSUE]
- Make your changes
- Commit and push
- Create a pull request