Socket
Socket
Sign inDemoInstall

swagger-tools

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swagger-tools - npm Package Compare versions

Comparing version 0.5.8 to 0.5.9

bin/swagger-tools

5

lib/specs.js

@@ -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 @@

8

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc