Wasn't the shuttle originally planned to be a weapon as well, capable of intercepting and sabotaging satellites using its loading bay workshop? There are also the various "mini shuttles" the three letter agencies fly around the earth for several hundred day stints of doing who knows what exactly with who knows what capabilities (other than having a similar sabotage potential as the original shuttle perhaps).
The SIR-C/X-SAR was launched in the Shuttle Bay and used to map the entire surface of The Earth. Some would call that a munition. This article, following that event IS the confirmation.
As far as I know, a major issue with NASA space programs such as the shuttle was that each group held its own requirements. So, most likely the DoD had some additional demands.
I'm not sure why you're being downvoted. The Shuttle requirements were absolutely modified by DoD's desire to ship military satellites and carry out operations. One of the many tug-o-wars that ended up with such a compromised design.
And since you brought up the X-37B, I have to admit, I absolutely love its dynamic flight capabilities whereby it literally banks off the upper atmosphere like a silver surfer to rapidly change orbits at perigee. Quite an interesting bit of tech that did evolve from the shuttle and is still doing work this very day.