Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sans-server-swagger

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sans-server-swagger - npm Package Compare versions

Comparing version 0.3.12 to 0.3.13

2

bin/validate.js

@@ -157,3 +157,3 @@ /**

if (errors.length > 0) return 'Response did not meet swagger requirements:\n ' + errors.join('\n ');
} else if (enforcers['default']) {
} else if (!enforcers.hasOwnProperty(code) && enforcers['default']) {
const errors = enforcers['default']

@@ -160,0 +160,0 @@ .validate

{
"name": "sans-server-swagger",
"version": "0.3.12",
"version": "0.3.13",
"description": "Sans-Server middleware that uses swagger documents to define routes, validate requests, validate responses, and to produce mocks.",

@@ -5,0 +5,0 @@ "main": "index.js",

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