New York City's beaches and pools will be open this summer, the mayor announced Wednesday.