Preheat the oven to 350°F (180°C). Spray a medium baking dish with cooking spray.
Heat the oil in a large skillet over medium heat. Add the onion and sauté until translucent, 5 to 6 minutes. Add the squash and continue to sauté, tossing gently, until c