Set the oven to 400°F Cut the squash into chunks, and mix in a roasting tin with the onion wedges and all but 2 of the cloves of garlic. Sprinkle in 1tbsp of the oil, mix well and season. Roast for 15 minutes.
Peel and crush the other two cloves of garlic and mix with the maple syrup, mustard and the rest of the oil.
Add the zucchini and thyme to the squash in the roasting tin and place the chicken legs on top. Brush these with the maple syrup glaze. Roast for 50 mins - 1 hr until chicken is well-cooked and the vegetables are tender.