fix for swagger-core issue #769. Only include method if it has a Jersey annotated HTTP method