Gypsy dodging extravagant caper (5)
I believe the answer is:
antic
'caper' is the definition.
(synonyms)
I cannot understand how the rest of the clue works.
Can you help me to learn more?
(Other definitions for antic that I've seen before include "Absurd act" , "Playful caper" , "Absurd action" , "Grotesque, fantastic (archaic)" , "Prank" .)