summaryrefslogtreecommitdiff
path: root/src/node/hooks/express/swagger.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/hooks/express/swagger.js')
-rw-r--r--src/node/hooks/express/swagger.js1
1 files changed, 0 insertions, 1 deletions
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);