Preheat your oven to 375°F (190°C).
Grease a 9x13-inch baking dish with olive oil.
In a large bowl, combine the sliced zucchinis, chopped onion, and minced garlic.
In another bowl, mix the cottage cheese, eggs, oregano, salt, and pepper.
Layer half of the zucchini mixture in the baking dish.
Spread half of the cheese mixture over the zucchini.
Add half of the breadcrumbs on top.
Repeat the layers with the remaining zucchini, cheese mixture, and breadcrumbs.
Top with the shredded cheddar cheese.
Bake in the preheated oven for 40 minutes or until golden brown and bubbly.