wordnik/swagger-node-express — pull request #98 by drewwells (2014-02-25 21:13:36+00:00)
Title: Issues

Can you turn on issues?

Currently, the documentation is all in express and most of this does not work for restify.

To emulate subpathing, here's what I had to do. There must be a better way to achieve this in restify.

```
server.use(function(req, res, next){
req.url = req.url.replace(/^\/v1/,'');
next(req, res);
});
```