wordnik/swagger-core — pull request #64 by mmatula (2012-10-18 20:52:16+00:00)
Title: Swagger should now work with servlet filter-based deployment as well.

Swagger was servlet-specific (since it was injecting ServletConfig)
and did not work if Jersey ServletContainer was registered as
a servlet filter rather than a servlet.

See: http://stackoverflow.com/questions/12960479/bootstrapping-jersey-with-a-filter-causes-swagger-to-fail

This patch fixes the issue.

NOTE: I haven't managed to run the integration tests successfully (even without this patch), but the module build and unit tests ran fine.