Skip to content

Commit 61574a1

Browse files
author
Sachin Maheshwari
committed
for the time being avoid swagger validation
1 parent e6ce79a commit 61574a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ swaggerTools.initializeMiddleware(swaggerDoc, function (middleware) {
4242
}))
4343

4444
// Validate Swagger requests
45-
app.use(middleware.swaggerValidator())
45+
//app.use(middleware.swaggerValidator())
4646

4747
// Route validated requests to appropriate controller
4848
app.use(middleware.swaggerRouter(options))

0 commit comments

Comments
 (0)