While zucchini is the traditional vegetable used in this dish, you can substitute it for other summer squash varieties such as yellow squash or pattypan squash. However, keep in mind that the flavor and texture may differ slightly.