Merge pull request #1642 from ether/fix/import

Fix #1639 by removing bodyParser middleware introduced with swagger REST...
This commit is contained in:
John McLear 2013-03-18 14:12:09 -07:00
commit 65e51473bc
1 changed files with 0 additions and 1 deletions

View File

@ -354,7 +354,6 @@ exports.expressCreateServer = function (hook_name, args, cb) {
// Let's put this under /rest for now
var subpath = express();
args.app.use(express.bodyParser());
args.app.use(basePath, subpath);
swagger.setAppHandler(subpath);