apidoc-plugin-schema
Advanced tools
Comparing version
{ | ||
"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 @@ } |
11102
-0.11%