#257 bug - slow scanner

See https://github.com/martypitt/swagger-springmvc/issues/257