1. Heat the olive oil in a large pot over medium heat. Add the chopped onion and cook until translucent, about 5 minutes.
2. Add the minced garlic, diced carrots, and diced celery. Cook for another 5 minutes, stirring occasionally.
3. Stir in the diced zucchini and cook for 2 more minutes.
4. Add the can of diced tomatoes (with juice), vegetable broth, cannellini beans, dried oregano, and dried basil. Bring to a boil.
5. Once boiling, reduce the heat and let it simmer for about 20 minutes.
6. Add the pasta and cook until tender, about 10 minutes. Season with salt and pepper to taste.
7. Stir in the chopped fresh spinach and cook until wilted, about 2 minutes.
8. Serve hot, topped with grated Parmesan cheese if desired.