wkennedy / swagger4spring-web

Swagger support for Spring MVC
89 stars 46 forks source link

Scanned ApiDocumentationController is not excluded in the processControllers method #13

Closed mzruya closed 11 years ago

mzruya commented 11 years ago

The JavaDoc for isAssignableFrom states : Determines if the class or interface represented by this

x.isAssignableFrom(y) -> is x >= y ? so in our check y should be the scanned controller class and x the ApiDocumentClass, otherwise the current check will only exclude ApiDocumentClass or classes ApiDocumentClass extends