adaptations to the newest swagger updates