Added a models parameter to the Resource constructor allowing us to pass the model object when creating the resource like so:

swagger.createResource(PATH, require("./models.js"));

Now we can specify the responseClass property when declaring our methods.