Put the green beans in a sieve, drain well and then transfer to a bowl. Finely chop the onion and add. Also add the vinegar, olive oil and lemon juice and mix everything well.
Season to taste with salt and pepper and let it steep a little before serving.