-
Notifications
You must be signed in to change notification settings - Fork 148
Conversation
I'll publish my plugin to npm once this is merged. From there we can document some scaffolding and naming conventions others can use. |
npm https://github.com/willfarrell/apidoc-plugin-example |
I am also looking for this. Hope in can be merged soon. Another nice plugin would be to allow the apiDescription to be loaded from an external markdown file. |
@bpaz should be pretty easy to do, it should also fallback to the default function if no file is specified (the way the auto-loader is written, will will work). I would suggest the syntax Lets post plugin request at https://github.com/willfarrell/apidoc-plugins for now. |
@willfarrell Published the new version. For your usecase use the hook parser-find-elements, then you can inject the annotations. You can use |
Will add more hooks on demand and change every part of the project in the future to support plugins. |
plugins have been updated to work with the latest update to apidoc-core. Thanks @rottmann for this. |
👍 add a link to your project in readme. |
#26
Naming convention:
npm package.json
converted to
apischema
that will lookupapiSchema
from the docs