swagger-api/swagger-core — pull request #790 by nhartner (2014-12-16 01:07:00+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.