Heat oil in a cooking pot. Add chopped onion, bell pepper, and minced garlic. Saute for 1-2 minutes.
Add chopped mushrooms, eggplant, zucchini, and corn kernels. Saute until the vegetables are almost cooked.
Add salt, pepper, and red chili flakes. Mix and saute for another 1-2 minutes.
Add black beans, mix and cook for 2 minutes. Switch off the stove.
Next, add cherry tomatoes and mix.
Brush a baking dish (around 9x13 inches) with some olive oil.
Spread some enchilada sauce on the baking dish.
Cut tortillas into smaller pieces (quarter or half) and place them on top of the sauce in such a way that they cover the entire base.
Evenly spread half of the vegetable filling on top of the tortillas.
Top it with some shredded cheese.
Put another layer of tortillas and vegetables.
Spread more sauce on top followed by shredded cheese.
Cover the baking dish with aluminum foil.
Bake in a preheated oven at 200°C (around 400°F) for 20 minutes.
Take out the dish, remove the foil, and bake uncovered for another 10 minutes.
Garnish with chopped cilantro and onion. Serve warm.