Preheat your oven to a suitable temperature for baking.
In a large bowl, combine the gnocchi, chopped yellow onion, and a generous amount of chopped garlic.
Add the tomatoes, fresh red chilies, thyme leaves, dried oregano, and dried basil to the bowl.
Drizzle in the olive oil and vinegar, then season with salt to taste.
Toss everything together until well mixed.
Spread the mixture evenly on a sheet pan.
Bake in the oven until the gnocchi is golden and the vegetables are tender.
