Skip to content

Commit e05c074

Browse files
committed
Attempting to use resolve, rather than dereference
1 parent 032e163 commit e05c074

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

eventcatalog/src/components/SchemaExplorer/JSONSchemaViewer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ function mergeAllOfSchemas(schemaWithProcessor: any): any {
103103

104104
async function processSchema(schema: any, rootSchema?: any): Promise<any> {
105105
if (!schema) return schema;
106-
let dereferencedSchema = await $RefParser.dereference(schema);
107-
return dereferencedSchema;
106+
let returnSchema = await $RefParser.resolve(schema);
107+
return returnSchema;
108108
}
109109

110110
// SchemaProperty component

0 commit comments

Comments
 (0)