Apple is saying that getting water on these contact will not harm the phone. I would not plug it in to charge it right after swimming but they are saying the water will not harm the contacts.
That means that occasional bit of vinegar will not harm your iPhone 7.