Heat the olive oil in a large pot over medium heat. Add the onion, garlic, carrots, and celery. Cook until the vegetables are tender, about 5-7 minutes.
Add the diced tomatoes, chicken broth, cannellini beans, ditalini pasta, oregano, and basil. Bring to a boil, then reduce the heat and simmer until the pasta is tender, about 10-12 minutes.
Season with salt and pepper to taste. Serve hot, topped with grated Parmesan cheese.