1. Heat olive oil in a large pot over medium heat. Add onions, carrots, and celery. Cook until softened, about 5 minutes.
2. Add garlic and cook for another minute.
3. Stir in zucchini, green beans, diced tomatoes, vegetable broth, oregano, basil, salt, and pepper. Bring to a boil.
4. Reduce heat and simmer for 20 minutes.
5. Add pasta and beans. Cook until pasta is tender, about 10 minutes.
6. Serve hot, garnished with grated Parmesan cheese if desired.