I recall reading a Star Wars book, I think it was paperback, a few years pre-Disney so several years ago and the book wasn't new at the time but I also don't think the book was more than ten years old at the time of reading.
I believe it followed a jedi master and apprentice, who I recall being Qui-gon and Obi-wan, who were at some point separated.
At least one (the apprentice/obi-wan) was captured by local nobility, and was without his lightsaber, either having had it confiscated or willingly surrendering it at some point. Then he had to duel a local lord (a prince?) with metal swords, which I believe were specifically referred to as broadswords.
Despite being unused to the heavier weapons and facing a much more experienced duelist, Obi-wan successfully adapts to the situation, wins and impresses his opponent, but does not kill him; I don't remember whether the duel was intended to be to the death or not.