apidoc-core
Version:
Core parser library to generate apidoc result following the apidoc-spec
22 lines (18 loc) • 457 B
JavaScript
// Same as @apiParam
var apiParser = require('./api_param.js');
function parse(content, source) {
return apiParser.parse(content, source, 'Success 200');
}
function path() {
return 'local.success.fields.' + apiParser.getGroup();
}
/**
* Exports
*/
module.exports = {
parse : parse,
path : path,
method : apiParser.method,
markdownFields: [ 'description', 'type' ],
markdownRemovePTags: [ 'type' ]
};