A flock or group of Swallows is termed as flight, gulp.
Different collective nouns can apply to all bird species, such as flock, colony, fleet, parcel, and dissimulation. However, when a flock or group of birds consists of just one type of bird or closely related species of birds, certain specialized terms are often used to describe the group of birds.
So, flight, gulp is /are used to describe a group of Swallows.
See more questions on Birds here