What's supposed to happen is that `server.locals['swagger-resources']` and `server.locals['swagger-models']` aggregate all the resources which are like express routes and models which are like object definitions, then when you request a particular resource's documentation you get the appropriate resource and only the object definitions that it references.