Preheat your oven to 400°F (200°C) and line a large rimmed baking sheet with parchment paper.
Peel the sweet potato and dice it into small 1/2-inch cubes to ensure they roast quickly and evenly.
Place the sweet potato cubes and corn kernels on the baking sheet, tossing them with 0.5 tbsp of olive oil and a pinch of the sea salt and black pepper.
Spread the vegetables in a single layer and roast for 15 minutes until they begin to soften and develop golden edges.
While the vegetables roast, pat the cod fillet dry with a paper towel and season both sides with smoked paprika, garlic powder, and the remaining sea salt and black pepper.
Remove the baking sheet from the oven, push the vegetables to the sides to create space, and place the cod fillet in the center.
Drizzle the remaining 0.5 tbsp of olive oil over the fish and return the sheet to the oven.
Bake for an additional 10-12 minutes until the cod is opaque throughout and flakes easily with a fork.
Garnish the entire dish with finely chopped fresh parsley and serve with a fresh lemon wedge for a bright finish.