Heat the olive oil in a large pot over medium heat. Add the diced onion and cook until it softens, about 5 minutes.
Stir in the minced garlic and cook for 1 minute until fragrant.
Add the diced sweet potatoes, smoked paprika, salt, and pepper. Stir to coat the potatoes with the spices.
Sprinkle the flour over the mixture and stir for 1 minute to remove the raw flour taste.
Pour in the vegetable broth and bring the pot to a simmer. Cook until the sweet potatoes are tender, about 15 minutes.
Add the corn kernels and simmer for another 5 minutes.
Stir in the milk and heat through without boiling. Adjust salt and pepper if needed.
Ladle the chowder into bowls and top with the chopped parsley before serving.