diff --git a/lib/index.js b/lib/index.js index 0a915bf..d1a83bd 100644 --- a/lib/index.js +++ b/lib/index.js @@ -223,6 +223,8 @@ module.exports.loadRestifyRoutes = function () { notes: specSwagger.notes || null, nickname: specSwagger.nickname || name, responseClass: specSwagger.responseClass || undefined, + type: specSwagger.type || swagger.type || undefined, + items: specSwagger.items || swagger.items || undefined, produces: specSwagger.produces || swagger.produces || [ 'application/json' ], diff --git a/package.json b/package.json index d3206a0..c8e4ffa 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { - "name": "node-restify-swagger", - "version": "0.1.7", + "name": "node-restify-swagger2", + "version": "0.2.0", "author": { - "name": "Timo Behrmann" + "name": "Josh Mohundro" }, "license": "MIT", "keywords": [ @@ -13,7 +13,7 @@ ], "repository": { "type": "git", - "url": "git://github.com/z0mt3c/node-restify-swagger.git" + "url": "git://github.com/jmohundro89/node-restify-swagger.git" }, "bugs": { "url": "https://github.com/z0mt3c/node-restify-swagger/issues"