Fix regression by using global visited set for $ref following
Add global visited set to prevent schemas from being walked multiple times
when following $refs. This fixes the regression where BroadcastedResponses
was incorrectly using LocationResponseWritable instead of LocationResponse.
The fix ensures that each schema is only walked once (from the first context
it's encountered in), which prevents conflicting updates when the same schema
is referenced from multiple paths.
Co-authored-by: mrlubos <12529395+mrlubos@users.noreply.github.com>