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.
2 parents 032e163 + e5cc9f3 commit 1411b74Copy full SHA for 1411b74
eventcatalog/src/components/SchemaExplorer/JSONSchemaViewer.tsx
@@ -103,7 +103,12 @@ function mergeAllOfSchemas(schemaWithProcessor: any): any {
103
104
async function processSchema(schema: any, rootSchema?: any): Promise<any> {
105
if (!schema) return schema;
106
- let dereferencedSchema = await $RefParser.dereference(schema);
+
107
+ let dereferencedSchema = await $RefParser.dereference(schema, {
108
+ dereference: {
109
+ circular: 'ignore', // Don't allow circular $refs
110
+ },
111
+ });
112
return dereferencedSchema;
113
}
114
0 commit comments