ramlev
ramlev copied to clipboard
Validate/Verify examples in RAML
Hello lovely humans, [mocha](https://www.npmjs.com/package/mocha) just published its new version 3.1.2. State Update :rocket: Dependency mocha New version 3.1.2 Type dependency This version is **not covered** by your **current version range**....
Currently, the outputs of validation is raw mocha results, it's a bit verbose. Like, ``` 21) /repos/{ownerId}/{repoId}/milestones POST response 201: AssertionError: Got unexpected response body: { "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1", "number": 1,...
Hello :wave: This is the first automated pull requests to help reach the goal of up to date and stable software. It updates all of the dependencies in the `package.json`...
1. Method::getExampleByType uses `$this->body` which doesn't exist. It should use `$this->bodyList` instead. 2. `$this->bodyList` contains `BodyInterface` elements, but unfortunately BodyInterface is rather limited, so it's impossible to check if it...
I only discovered this by using [these patches](https://github.com/cybertk/ramlev/pull/29), but if $ref is used to refer to another schema file, and the -f and -d options are used, the schema file...
When an example isn't valid JSON, the error you get looks like this: AssertionError: Invalid JSON: undefined Error: expected [Function] to not throw an error but 'SyntaxError: Unexpected string' was...
In current design, **ramlev** detects schema type by scanning the content of schema, it's not good and accurate if **ramlev** is used to support any kind of schema. Proposal, -...