swagger-tools
Advanced tools
Comparing version 0.5.8 to 0.5.9
@@ -691,3 +691,6 @@ /* | ||
if (result) { | ||
response.errors = validator.je(schema, data, result, jjveOptions); | ||
response = { | ||
errors: validator.je(schema, data, result, jjveOptions), | ||
warnings: [] | ||
}; | ||
} | ||
@@ -694,0 +697,0 @@ |
{ | ||
"name": "swagger-tools", | ||
"version": "0.5.8", | ||
"version": "0.5.9", | ||
"description": "Various tools for using and integrating with Swagger.", | ||
@@ -27,3 +27,7 @@ "main": "index.js", | ||
], | ||
"bin": { | ||
"swagger-tools": "./bin/swagger-tools" | ||
}, | ||
"files": [ | ||
"bin", | ||
"index.js", | ||
@@ -51,2 +55,3 @@ "LICENSE", | ||
"dependencies": { | ||
"commander": "^2.3.0", | ||
"jjv": "^1.0.0", | ||
@@ -78,4 +83,5 @@ "jjve": "^0.4.0", | ||
"spark-md5": "0.0.5", | ||
"string": "^2.1.0", | ||
"traverse": "^0.6.6" | ||
} | ||
} |
@@ -21,2 +21,3 @@ The project provides various tools for integrating and interacting with Swagger. This project is in its infancy but | ||
* Simple CLI for validating Swagger documents | ||
* Schema validation: For the file(s) supported by the Swagger specification, ensure they pass structural validation | ||
@@ -35,5 +36,5 @@ based on the [JSON Schema][json-schema] associated with that version of the specification _(Browser and Node)_ | ||
swagger-tools is distributed via [NPM][npm] so installation is the usual: `npm install swagger-tools --save`. You can | ||
also install swagger-tools using [Bower][bower] for browser-based applications using | ||
`bower install swagger-tools --save`. | ||
swagger-tools is distributed via [NPM][npm] so installation is the usual: `npm install swagger-tools --save`. _(If you | ||
plan on using the CLI, you would install using `npm install swagger-tools -g`.)_ You can also install swagger-tools | ||
using [Bower][bower] for browser-based applications using `bower install swagger-tools --save`. | ||
@@ -40,0 +41,0 @@ ## Documentation |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
783851
57
15212
60
29
+ Addedcommander@^2.3.0
+ Addedstring@^2.1.0
+ Addedcommander@2.20.3(transitive)
+ Addedstring@2.2.0(transitive)