Merge branch 'release/1.2.1' into production

This commit is contained in:
Raymond Feng 2014-07-18 21:48:52 -07:00
commit 71a2a0473b
2 changed files with 2 additions and 5 deletions

View File

@ -88,10 +88,7 @@ var routeHelper = module.exports = {
if (firstReturn.type === 'object') { if (firstReturn.type === 'object') {
firstReturn.type = classDef.name; firstReturn.type = classDef.name;
} else if (firstReturn.type === 'array') { } else if (firstReturn.type === 'array') {
firstReturn.type = 'array'; firstReturn.type = [classDef.name];
firstReturn.items = {
'$ref': classDef.name
};
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "loopback-explorer", "name": "loopback-explorer",
"version": "1.2.0", "version": "1.2.1",
"description": "Browse and test your LoopBack app's APIs", "description": "Browse and test your LoopBack app's APIs",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {