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.1.6

2

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

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

@@ -11,3 +11,3 @@

// TODO change _OR_ to |, requires core fix to allow `Empty parser result.`
// TODO change / to |, requires core fix to allow `Empty parser result.`
// https://github.com/apidoc/apidoc-core/blob/master/lib/parsers/api_param.js

@@ -23,3 +23,3 @@ function makeType(param) {

}
return strarr.join('_OR_');
return strarr.join('/');
}

@@ -35,6 +35,6 @@ var str = '';

});
return strarr.join('_OR_');
return strarr.join('/');
} else if (param.type) {
str = param.type
if (str === 'array') {
if (str === 'array') {
str = makeType(param.items)+'[]';

@@ -41,0 +41,0 @@ }