Enable Generic Classes in swagger

Enable Generic Classes in swagger