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

swagger-jsdoc

Package Overview
Dependencies
Maintainers
2
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swagger-jsdoc - npm Package Compare versions

Comparing version 1.4.1 to 1.5.0

11

lib/index.js

@@ -120,3 +120,10 @@ /** @module index */

case 'tag': {
swaggerObject[keyName].push(pathObject[propertyName]);
var tag = pathObject[propertyName];
if (Array.isArray(tag)) {
for (var t = 0; t < tag.length; t = t + 1) {
swaggerObject[keyName].push(tag[t]);
}
} else {
swaggerObject[keyName].push(tag);
}
break;

@@ -174,3 +181,3 @@ }

swaggerObject.securityDefinitions = {};
swaggerObject.tags = [];
swaggerObject.tags = swaggerObject.tags || [];

@@ -177,0 +184,0 @@ var apiPaths = convertGlobPaths(options.apis);

2

package.json
{
"name": "swagger-jsdoc",
"version": "1.4.1",
"version": "1.5.0",
"description": "Generates swagger doc based on JSDoc",

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