Preheat the oven to 400 degrees F and line a large baking sheet with parchment paper.
In a small bowl, combine 2 tablespoons olive oil with the parsley, rosemary, and minced garlic to form the herb crust mixture.
Pat the cod fillets dry and season both sides with salt and pepper. Spread the herb mixture evenly over the top of each fillet.
Place the green beans and olives on the prepared baking sheet. Drizzle with the remaining tablespoon of olive oil and toss to coat, then season with salt and pepper.
Nestle the herb crusted cod fillets among the green beans and olives on the baking sheet.
Bake for 15 to 18 minutes until the fish flakes easily with a fork and the green beans are tender with lightly browned edges.