The Riksdag voted 269–37 to pass the NATO accession bill, and my understanding is that this is representative of the majority of the Swedish population.
Since NATO’s rules regarding military conflict are a rather conspicuous part of NATO membership, I’d hazard to say the Swedes are being quite explicit about the sort of involvement they desire.
https://en.wikipedia.org/wiki/List_of_wars_involving_Sweden#...
Article 5 only says every other member "will assist" with "such action as it deems necessary"
International law is in many ways a ghost of what we think of as law. There are no enforcement mechanisms. If Sweden failed to involve itself and the USA/NATO wanted to push the point, we'd just apply trade pressure & sanctions to them. But we could and would do that same thing without Sweden being in NATO. (That's how we established the 'coalition of the willing' for the Iraq invasion, and how UN votes are organized)