Preheat the oven to 400. Place the squash, onion, garlic and oil in a roasting pan. Toss together. Cover the pan tightly with aluminum foil and bake in the preheated oven for 20 – 25 minutes or until the vegetables are just tender. Let stand for 5 minutes before removing the foil.