ramlo
ramlo copied to clipboard
Documentation generator for RAML 1.0
report error at line 246 if (Object.keys(ramlBody).length > 0 && _.isFunction(body.schemaContent)) change "body" to ramlBody can fix this issue
**ramlo 0.2.1** > C:\bin\nvm\v6.2.1\node_modules\ramlo\src\modules\api.js:246 > if (Object.keys(ramlBody).length > 0 && _.isFunction(body.schemaContent)) { > > ReferenceError: body is not defined It should be `_.isFunction(ramlBody.schemaContent)` not `_.isFunction(body.schemaContent)`
starting ramlo... loading dependencies... creating documentation... /usr/local/lib/node_modules/ramlo/src/modules/api.js:231 repeat: parameter.repeat() ^ TypeError: parameter.repeat is not a function at /usr/local/lib/node_modules/ramlo/src/modules/api.js:231:31 at arrayEach (/usr/local/lib/node_modules/ramlo/node_modules/lodash/lodash.js:522:11) at Function.forEach (/usr/local/lib/node_modules/ramlo/node_modules/lodash/lodash.js:9011:14) at produceQueryParameters (/usr/local/lib/node_modules/ramlo/src/modules/api.js:170:7) at /usr/local/lib/node_modules/ramlo/src/modules/api.js:97:30 at...
Hi there, We noticed that your repo has a medium severity vulnerability: - [Improper minification of non-boolean comparisons](https://snyk.io/vuln/npm:uglify-js:20150824?utm_source=gh_issue) - Affected package: uglify-js <= 2.4.23 [Here is the test report for...
Adding label support for the HEAD and OPTIONS HTTP verbs. The RAML spec supports them via their [https://github.com/raml-org/raml-spec/blob/master/versions/raml-10/raml-10.md/#methods](RAML 1.0 Documentation). This simply adds labels for those methods in the generated...
Roadmap
- [ ] try to reduce time for generating documentation from RAML file - [ ] rewrite code using ES2015 + Babel - [ ] prepare website describing how to...
In the Readme.md, you refer to an example RAML file to use to test the operation of ramlo. This file is located in your manageably project. When I downloaded the...
When the parsed response example is not simple string, the document can not show the response example. I think it is similar to the bug 'Parsing RAML 1.0 response examples...
After working past the node-sass issue, I got this, which I worked around by checking the reference in the source. I'm not sure what would cause this? C:\Program Files\nodejs\node_modules\ramlo\src\modules\api.js:281 var...