Fix #1639 by removing bodyParser middleware introduced with swagger REST API
This commit is contained in:
parent
83ed9303da
commit
2bc45de106
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue