Generates and inject apidoc example elements from api schemas or files.
@apiExample {SCHEMA_TYPE=PATH_TO_SCHEMA} ELEMENT_TYPE TITLE
npm install apidoc-plugin-example-ext -g
Prettifies JSON and injects in.
/**
* @api {get} /api GetAPI
* @apiExampleExt {json=./ex/api.req.json} apiParamExample Request
* @apiExampleExt {jsonschema=./ex/api.res.json} apiSuccessExample Success-Response
*/
This plugin uses parser-find-elements
@ priority 202
.