Improvements to `$ref` parsing and recursion

Description

Improvements to `$ref` parsing and recursion

Fixed

Assignee

Unassigned

Reporter

Luis Majano

Labels

None

Fix versions

Priority

Major