swagger-api/swagger-core — pull request #792 by nhartner (2014-12-16 17:34:25+00:00)
Title: fix for swagger-core issue #769. Only include method if it has a Jersey annotated HTTP method

This fixes issue 769. The issue seems to be that methods not annotated with @GET, @PUT, etc were getting included. This brought in unwanted methods such as toString/equals/hashCode. I modified the code to first check that such an annotation exists before reading the method.