Heat oven to 425° F. On a rimmed baking sheet, toss the broccoli and onion with the oil and Parmesan and season with ½ teaspoon each salt and pepper. Roast, tossing once, until tender, 20 to 25 minutes.