Closed simonbothen-radinn closed 11 months ago
The external resolver did not take into account for overrides. E.g take the following example:
$ref: 'base.yaml' id: my_id settings: $ref: 'base_settings.yaml' useCache: true
This failed to resolve on $ref: 'base_settings.yaml'. This is due to to root object passes $Ref.isExternal$Ref(obj) and therefore not considering the other child objects. We should still crawl the tree even though the root has a $ref.
$ref: 'base_settings.yaml'
$Ref.isExternal$Ref(obj)
Included in https://github.com/APIDevTools/json-schema-ref-parser/pull/321
The external resolver did not take into account for overrides. E.g take the following example:
This failed to resolve on
$ref: 'base_settings.yaml'
. This is due to to root object passes$Ref.isExternal$Ref(obj)
and therefore not considering the other child objects. We should still crawl the tree even though the root has a $ref.