upgrading to newest swagger code