From 2bc45de1062cd4afcb8cc53e6a89b480a05f77b6 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Mon, 18 Mar 2013 22:09:47 +0100 Subject: [PATCH] Fix #1639 by removing bodyParser middleware introduced with swagger REST API --- src/node/hooks/express/swagger.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/node/hooks/express/swagger.js b/src/node/hooks/express/swagger.js index f4fc5cff..3a437a51 100644 --- a/src/node/hooks/express/swagger.js +++ b/src/node/hooks/express/swagger.js @@ -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);