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

oas3-tools

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oas3-tools - npm Package Compare versions

Comparing version 2.2.2 to 2.2.3

4

dist/middleware/swagger.parameters.js

@@ -14,3 +14,3 @@ 'use strict';

return (req, res, next) => {
if (!req.openapi || !req.openapi.schema || !req.openapi.schema.parameters) {
if (!req.openapi || !req.openapi.schema) {
next();

@@ -35,3 +35,3 @@ return;

}
const parameters = req.openapi.schema.parameters;
const parameters = req.openapi.schema.parameters || [];
for (let i = 0; i < parameters.length; i++) {

@@ -38,0 +38,0 @@ const parameter = parameters[i];

{
"name": "oas3-tools",
"version": "2.2.2",
"version": "2.2.3",
"description": "Swagger-UI and API Rest Routing for Open API v3.",

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

Sorry, the diff of this file is not supported yet

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