Merge branch 'json-fixes' into json-fixes-cpp
This commit is contained in:
commit
cb364ef542
2 changed files with 2 additions and 2 deletions
|
@ -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}'
|
||||
|
|
|
@ -103,7 +103,7 @@ export class SchemaConverter {
|
|||
}
|
||||
|
||||
if (fragSplit.length === 1 || fragSplit[fragSplit.length - 1] === '') {
|
||||
return;
|
||||
return target;
|
||||
}
|
||||
} else if (ref.startsWith('#/')) {
|
||||
target = schema;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue