The Ospreys are back in the PRO12 play-off places, after beating Edinburgh at the Liberty Stadium.
Man of the match Morgan Allen scored two tries from No.8, and scrum half Rhys Webb got another, but the Welsh side failed to get a bonus point.
Edinburgh crossed through Hamish Watson, but also had centre Nick de Luca sent off for a dangerous tip tackle late on, as they slipped to their tenth defeat in a row in all competitions.
More top news
Wasps have confirmed that Cardiff Blues head coach Danny Wilson will join their coaching coaching team for 2018/19 season.
The Bluebirds boss was sent from the touchline in the 78th minute by referee Steve Martin in the 2-2 draw at Reading.
Swansea's defeat was their joint-heaviest of the season and they remain bottom of the Premier League with 12 points from 17 games.