Preheat your oven to 375°F (190°C). Lightly oil your baking dish to prevent sticking.
Slice the zucchini and tomatoes into thin, even rounds. Arrange all slices on a cutting board for easy layering.
In a small bowl, mix the minced garlic, olive oil, dried oregano, salt, and pepper to create a flavorful oil infusion.
Spread a thin layer of the garlic oil on the bottom of the baking dish, then start layering slices of zucchini and tomato alternately, slightly overlapping each slice.
Brush each layer lightly with more garlic oil, and sprinkle a handful of shredded cheese over each layer for added richness.
Continue layering until all the vegetable slices are used, finishing with a cheese layer on top.
Cover the dish loosely with aluminum foil or parchment paper to retain moisture and bake for about 30 minutes.
Remove the foil and bake uncovered for an additional 10 minutes, or until the cheese bubbles and turns golden brown.
Take the casserole out of the oven and let it rest for a few minutes, allowing the flavors to settle.
Slice and serve this vibrant, rustic dish warm, enjoying the tender vegetables and cheesy topping.