Trim unused Swagger dependencies