It certainly looks like it if you do an internet search! Even idea finder redefines "invention" to give priority to Edison!
He could have done and actually did, but he also recognised that Edison was a far better businessman and the US market huge so he made a strategic decision to join forces and take a share of the profits.
Patent law had the potential to destroy both companies and only make the slimy fat lawyers rich. Neither of them wanted that so once it was clear that Swanns patent claims were stronger Edison agreed to a deal. However, in the US at least Edison also got to rewrite history.
Much the same sort of thing as happened in the UK where Newton and his supporters pretty much eliminated the unfortunate Hooke from history (up to and including destroying almost every portrait of the man). It has taken nearly three hundred years to redress that injustice...
Edison was certainly interested in making his fortune, whilst Swann was a lot more interested in the science, chemistry and engineering.
A reasonable summary of the early history of light bulbs is online at:
Swann also invented the most effective filament material of the day.