Proper swimming attire is appropriate.
A swim suit is appropriate for swimming in a swimming pool.
Most people wear bathing suits, but I'm sure you would be fine with a dark tank top and shorts. There's no official dress code to which I am aware.
Shorts and tank top are fine if you don't get in the pool. But swimsuits are for swimming.
Definitely a swimsuit.
Thanks! Your answer is awaiting moderation.