Applied patch martypitt/swagger-springmvc/issues/512