Pass info object to swagger