A function to find all nested objects (not $ref references) and move them to the root of the symbol tree and replace with with local #/ $refs.
$ref
#/
$refs
objToRoot
The files to look at
The callback to raise when it is done. It will get 2 parameters, a standard err parameter and payload of the entire symbol tree
err
payload
Generated using TypeDoc
A function to find all nested objects (not
$refreferences) and move them to the root of the symbol tree and replace with with local#/$refs.objToRoot