We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddeb05e commit 95ce1a9Copy full SHA for 95ce1a9
src/lib/transform.ts
@@ -130,7 +130,7 @@ function ensureStrictJsonSchema(
130
const ref = (jsonSchema as any).$ref;
131
if (ref && hasMoreThanNKeys(jsonSchema, 1)) {
132
if (typeof ref !== 'string') {
133
- throw new TypeError(`Received non-string $ref - ${ref}`);
+ throw new TypeError(`Received non-string $ref - ${ref}; path=${path.join('/')}`);
134
}
135
136
const resolved = resolveRef(root, ref);
0 commit comments