Heat olive oil in the pot.
Add onion, carrots, and celery.
Cook until softened, stirring gently.
Add garlic and cook briefly.
Stir in tomato paste carefully.
Add diced tomatoes and broth.
Add beans, thyme, and bay leaf.
Simmer gently for twenty minutes.
Add pasta and cook until tender.
Add zucchini and green beans.
Cook until vegetables soften.
Stir in spinach until wilted.
Season with salt and pepper.
Remove bay leaf before serving.