1 | // Same as @apiParam
|
2 | var apiParser = require('./api_param.js');
|
3 |
|
4 | function parse(content, source) {
|
5 | return apiParser.parse(content, source, 'Success 200');
|
6 | }
|
7 |
|
8 | function path() {
|
9 | return 'local.success.fields.' + apiParser.getGroup();
|
10 | }
|
11 |
|
12 | /**
|
13 | * Exports
|
14 | */
|
15 | module.exports = {
|
16 | parse : parse,
|
17 | path : path,
|
18 | method : apiParser.method,
|
19 | markdownFields: [ 'description', 'type' ],
|
20 | markdownRemovePTags: [ 'type' ]
|
21 | };
|