You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

apidoc-plugin-schema

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apidoc-plugin-schema - npm Package Compare versions

Comparing version

to
0.0.4

2

package.json
{
"name":"apidoc-plugin-schema",
"version":"0.0.3",
"version":"0.0.4",
"description": "Schema Plugin for apidoc.",

@@ -5,0 +5,0 @@ "copyright": "Copyright (c) 2016 will Farrell. All rights reserved.",

@@ -157,7 +157,7 @@

var subs = {};
var subgroup = p ? p+'.' : '';
//var subgroup = p ? p+'.' : ''; // TODO apidoc - groups cannot have `.` in them
if (param.type === 'array' && param.items.type === 'object') {
subs = traverse(param.items, subgroup+key+'[]');
subs = traverse(param.items, key+'[]'); // subgroup+
} else if (param.type === 'object') {
subs = traverse(param, subgroup+key);
subs = traverse(param, key); // subgroup+
}

@@ -164,0 +164,0 @@ for(var subKey in subs) {