Skip to content

Commit 63c03f0

Browse files
authored
Update index.js
1 parent 7829385 commit 63c03f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/compiler/swagger/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ let Swagger = function (object, options) {
1616
_.extend(this, obj);
1717

1818
// Swagger paths are like {param} but koa-router paths are like :param
19-
this.convertPathParameters();
19+
//this.convertPathParameters();
2020

21-
//this.setRouteValidationMap();
21+
this.setRouteValidationMap();
2222
this.setSanitizedRoutes();
2323
this.setControllers();
2424
return this;

0 commit comments

Comments
 (0)