Heat the olive oil in a large pot over medium heat. Once hot, add the diced onion and sauté for about 2-3 minutes until translucent.
Add the minced garlic, diced carrots, celery, and bell pepper. Stir well and cook for another 5 minutes, until the vegetables start to soften.
Stir in the diced tomatoes (with juices), vegetable or chicken broth, chickpeas, oregano, thyme, salt, and pepper. If using, add the small pasta at this time.
Increase the heat to bring the soup to a gentle boil. Once boiling, reduce the heat to a simmer and cook for 10 minutes, or until the vegetables and pasta are tender.
Add the spinach or kale, stir, and cook for another 2 minutes until wilted.
Taste and adjust seasoning if necessary. Serve hot with crusty bread, if desired.
For a richer flavor, consider adding a splash of soy sauce or vinegar before serving.