eirikurn/swagger-doc — pull request #2 by torstenek (2013-02-22 12:33:23+00:00)
Title: Added a models property to the Resource. 

I wasn's sure how to expose the model object in swagger-doc to enable the responseClass property. I might have missed something. Anyway, here's a minimal change allowing the model object to be passed in the Resource constructor.

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