wordnik/swagger-core — pull request #38 by ieugen (2012-06-15 08:37:50+00:00)
Title: Make singleton resources visible to swagger

Swagger only lists resources added by class. It misses those added by instance reference. This is a fix so that not only resource classes are discovered by swagger.

In my code I made a delegate for ApiListing in which I joined the two class sets and it worked. This patch should fix things in swagger. I didn't test the patch but it's a trivial change, should work.