actually I am reverting this based on your first comment and modifying isList to add this condition:

return Collection.class.isAssignableFrom(member.getType()) && !isSet(member);

This should be a safe way to determine a Java "Collection" versus a "Set", swagger want's these to be different...but Java doesn't as I am sure you know!