wordnik/swagger-node-express — pull request #57 by kyriesent (2013-06-18 15:02:04+00:00)
Title: Add explicit support for consumes and produces parameters in spec

Enable `consumes` to modify content-type sent by swagger-UI.

Enable `produces` to be sent to swagger-UI. As of this commit swagger-UI doesn't seem to do much with `produces`, however it is described in the 1.2 spec.

I've made these explicitly included to ensure that these parameters are passed, even if something changes in the custom parameter setters (starting line 541ish).

Please update the npm repo soon! Thanks for all your hard work!