Gently rinse and dry the flowers and the courgettes.
In a large frying pan add the oil, the onion and the sliced courgettes over medium/high heat.
Cook the pasta in a large pot of boiling salted water until just tender but firm to bite, stirring occasionally. Drain pasta, reserving 1/2 cup cooking liquid.
While the pasta is cooking, continue to cook the courgettes until coloured and then add the flowers cut in strips. Season with salt and pepper. Cook for another minute, then add the pasta and a little of the cooking water.
Add parmesan cheese at taste.