Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Carmine DiMascio committed Mar 19, 2019
1 parent 792e827 commit 8d2f9db
Show file tree
Hide file tree
Showing 3 changed files with 997 additions and 236 deletions.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function OpenApiMiddleware(opts: OpenApiMiddlewareOpts) {
console.log('----routeMap---', this.routeMap)
};

OpenApiMiddleware.prototype.middleware = function() {
OpenApiMiddleware.prototype.middleware = function() {
return (req, res, next) => {
const { path, method } = req;
if (path && method) {
Expand Down
Loading

0 comments on commit 8d2f9db

Please sign in to comment.