Skip to content

Commit

Permalink
(fix) operation handler default resolver paths undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
cdimascio committed Oct 26, 2020
1 parent 3b9dd66 commit 149c62f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openapi.validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ export class OpenApiValidator {
expressRoute.indexOf(baseUrl) === 0
? expressRoute.substring(baseUrl.length)
: expressRoute;
router[method.toLowerCase()](path, resolver(basePath, route));
router[method.toLowerCase()](path, resolver(basePath, route, this.options.apiSpec));
}
}
return router;
Expand Down

0 comments on commit 149c62f

Please sign in to comment.