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.5 to 0.5.6

middleware/1.2/swagger-ui.js

10

middleware/index.js
/*
* The MIT License (MIT)
*
*
* Copyright (c) 2014 Apigee Corporation
*
*
* Permission is hereby granted, free of charge, to any person obtaining a copy

@@ -12,6 +12,6 @@ * of this software and associated documentation files (the "Software"), to deal

* furnished to do so, subject to the following conditions:
*
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR

@@ -31,2 +31,3 @@ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,

swaggerRouter: require('./1.2/swagger-router'),
swaggerUi: require('./1.2/swagger-ui'),
swaggerValidator: require('./1.2/swagger-validator')

@@ -38,3 +39,4 @@ };

swaggerRouter: require('./2.0/swagger-router'),
swaggerUi: require('./2.0/swagger-ui'),
swaggerValidator: require('./2.0/swagger-validator')
};

3

package.json
{
"name": "swagger-tools",
"version": "0.5.5",
"version": "0.5.6",
"description": "Various tools for using and integrating with Swagger.",

@@ -51,4 +51,5 @@ "main": "index.js",

"path-to-regexp": "^0.2.3",
"serve-static": "^1.6.3",
"traverse": "^0.6.6"
}
}

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

* Connect middleware for wiring request handlers to requests based on Swagger documentation (swagger-router)
* Connect middleware for serving your Swagger documents and [Swagger UI][swagger-ui]
* Connect middleware for using Swagger resource documents for pre-route validation (swagger-validator)

@@ -72,1 +73,2 @@ * Validate the request Content-Type based on the operation's `consumes` value(s)

[swagger-docs-v2_0]: https://github.com/reverb/swagger-spec/blob/master/versions/2.0.md
[swagger-ui]: https://github.com/wordnik/swagger-ui
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