Merge branch 'json-fixes' into json-fixes-cpp

This commit is contained in:
ochafik 2024-03-11 22:23:19 +00:00
commit cb364ef542
2 changed files with 2 additions and 2 deletions

View file

@ -103,7 +103,7 @@ class SchemaConverter:
self._refs[base_url] = target
if len(frag_split) == 1 or frag_split[-1] == '':
return
return target
elif ref.startswith('#/'):
target = schema
ref = f'{url}{ref}'

View file

@ -103,7 +103,7 @@ export class SchemaConverter {
}
if (fragSplit.length === 1 || fragSplit[fragSplit.length - 1] === '') {
return;
return target;
}
} else if (ref.startsWith('#/')) {
target = schema;