It isn't cannon but:
The slight A-wing's wing-mounted laser cannons could rotate up and down sixty degrees for greater fire control. Some of those designs even had their guns modified to swivel in a complete 360-degree arc, thus providing a nasty surprise to any chasing fighter.
http://starwars.wikia.com/wiki/RZ-1_A-wing_interceptor/Legends
No, those are definitely cannons.