Backported swagger to archetypes