It does provoke an attack of opportunity
If the dragon leaves the reach of the creature, then it will provoke an attack of opportunity. Like you said, the action doesn't specifically preclude this.
For further evidence, PHB 292 states that a prone creature has disadvantage on attack rolls. Even if the creature is knocked prone by the wing attack, it can make an attack of opportunity (with disadvantage) against the dragon.
Yes, if the second Goblin is not within the Reach of the thing making the opportunity attack
It seems a bit weird, however the criteria for triggering an opportunity attack are:
- You are moving out of the reach of a hostile creature
- This movement is from one of your Actions, Bonus Actions, Movement or Reaction
- You have not taken the Disengage action
- You are not Teleporting
For this question we can discount Point 4, as the Goblin Boss can't teleport.
We'll also ignore Disengaging for now.
For Point 2, the movement is by the Goblin Boss' Reaction, which fulfills that criteria
For Point 1, if the swapping with the second Goblin does not cause the Goblin Boss to leave the Reach of any hostile creature, it will not trigger an Opportunity attack. In the diagrams below, the first set of movement will not trigger an opportunity attack, while the second set will.
EG -> EB
B G
EBG -> EGB
E - Enemy;
G - Goblin;
B - Goblin Boss
Note that wherever the second Goblin is moved from, it does not trigger an Opportunity attack from anything as its movement is forced by the Goblin Boss.
As for using Disengage (via Nimble Escape), it only stops OAs for the rest of your Turn, not the entire Round.
So, if someone had Readied an action to hit the Goblin Boss when the Boss did a specific thing, then the Goblin Boss did that thing on the Boss' turn, and in Reaction the Boss used Redirect Attack, that would not trigger an OA, wherever it moved, as it is still the Boss' Turn so Disengage is still in effect. But normally, Disengage would not help for this.
Best Answer
PHB p.195
MM p.11
There are 2 possible interpretations:
Option 1
Your ruffian, whose longest melee reach is 5 feet (shortsword), if you move from within 5 feet to outside 5 feet without using the Disengage action, he can attack you with 1 shortsword if he has his reaction available.
For your dragon, whose longest melee reach is 15 feet, if you move from within 15 feet to outside 15 feet without using the Disengage action, he can attack you with 1 tail attack (the only one that will reach), if he has his reaction available.
Option 2
For the ruffian, this interpretation makes no difference.
For the dragon, it has 3 reaches - Claws 5 feet, Bite 10 feet and Tail 15 feet. If it has a reaction available and you move:
As the dragon only has 1 reaction per turn it can only elect to make one of these even if your movement triggers all 3.