From e4920863778216c25e24037dd51c9e056694ad31 Mon Sep 17 00:00:00 2001 From: Paul Desmond Parker Date: Fri, 27 Oct 2023 15:23:30 +0800 Subject: [PATCH] fix https://github.com/decentralized-identity/veramo/issues/1281 caused by commit aabd716b42ebac8b75135db8575725ee66867850 addressing issue #152 --- packages/oas-resolver/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/oas-resolver/index.js b/packages/oas-resolver/index.js index ab2ce37f..cb00516a 100644 --- a/packages/oas-resolver/index.js +++ b/packages/oas-resolver/index.js @@ -466,7 +466,7 @@ function loopReferences(options, res, rej) { options.openapi = deRef(options.openapi,options.original,{verbose:options.verbose-1}); if (options.verbose>1) console.warn(common.colour.yellow+'Finished internal resolution!',common.colour.normal); } - recurse(options.openapi,{},function(obj,key,state){ + recurse(options.openapi,{identityDetection:true},function(obj,key,state){ if (isRef(obj, key)) { if (!options.preserveMiro) delete obj['x-miro']; }