apidoc-plugin-schema
Advanced tools
Comparing version
{ | ||
"name":"apidoc-plugin-schema", | ||
"version":"0.0.6", | ||
"version":"0.0.7", | ||
"description": "Schema Plugin for apidoc.", | ||
@@ -5,0 +5,0 @@ "copyright": "Copyright (c) 2016 will Farrell. All rights reserved.", |
@@ -12,2 +12,3 @@ | ||
// TODO change _OR_ to |, requires core fix to allow `Empty parser result.` | ||
// https://github.com/apidoc/apidoc-core/blob/master/lib/parsers/api_param.js | ||
function makeType(param) { | ||
@@ -26,3 +27,3 @@ //console.log(param); | ||
param.type.map(function(type){ | ||
str = param.type; | ||
str = type; | ||
if (str === 'array') { | ||
@@ -34,3 +35,3 @@ str = param.items.type+'[]'; | ||
return strarr.join('_OR_'); | ||
} else { | ||
} else if (param.type) { | ||
str = param.type | ||
@@ -37,0 +38,0 @@ if (str === 'array') { |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
240
0.42%9694
-3.4%4
33.33%0
-100%