Fix #1639 by removing bodyParser middleware introduced with swagger REST API

This commit is contained in:
Marcel Klehr 2013-03-18 22:09:47 +01:00
parent 83ed9303da
commit 2bc45de106
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 // Let's put this under /rest for now
var subpath = express(); var subpath = express();
args.app.use(express.bodyParser());
args.app.use(basePath, subpath); args.app.use(basePath, subpath);
swagger.setAppHandler(subpath); swagger.setAppHandler(subpath);