From 942ea3afd891e22988295fc2c07c189e47e4d500 Mon Sep 17 00:00:00 2001 From: Jakob Olsson <Jakob Olsson> Date: Thu, 30 Jan 2020 13:02:49 +0100 Subject: [PATCH] process $refs within references to objects --- lib/schema.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/schema.js b/lib/schema.js index d00fda4..d030b8f 100644 --- a/lib/schema.js +++ b/lib/schema.js @@ -227,6 +227,9 @@ const processISchema = Promise.method((schema, base$id) => { }); } } + + if (schema.properties) return processFurther(schema, undefined, base$id); + // schema.$definitions = $definitions return schema; }); -- GitLab