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

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.4.2 to 0.4.3

2

middleware/swagger-router.js

@@ -37,3 +37,3 @@ /*

if (file.match(jsFileRegex)) {
controller = require(path.join(dir, controllerName));
controller = require(path.resolve(path.join(dir, controllerName)));

@@ -40,0 +40,0 @@ if (!_.isPlainObject(controller)) {

{
"name": "swagger-tools",
"version": "0.4.2",
"version": "0.4.3",
"description": "Various tools for using and integrating with Swagger.",

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

@@ -68,3 +68,3 @@ The project provides various tools for integrating and interacting with Swagger. This project is in its infancy but

app.use(swaggerMetadata(resourceListing, [petJson, storeJson, userJson]));
app.use(swaggerRouter({useStubs: true, controllers: '/Users/jwhitlock/projects/awesome/api/controllers'}));
app.use(swaggerRouter({useStubs: true, controllers: './controllers'}));
app.use(swaggerValidator());

@@ -71,0 +71,0 @@

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