diff --git a/SchemaExporter/SchemaExporter.cs b/SchemaExporter/SchemaExporter.cs index 1e5a2618..19388b9d 100644 --- a/SchemaExporter/SchemaExporter.cs +++ b/SchemaExporter/SchemaExporter.cs @@ -19,7 +19,8 @@ public static class SchemaExporter { IgnoreObsoleteProperties = true, DefaultReferenceTypeNullHandling = ReferenceTypeNullHandling.NotNull, - FlattenInheritanceHierarchy = true + FlattenInheritanceHierarchy = true, + AllowReferencesWithProperties = true }; Console.WriteLine("Outputting Body Schema"); var bodySchema = new Schema("Celestial Body Schema", $"{folderName}/body_schema", settings); @@ -73,7 +74,7 @@ public static class SchemaExporter { var schema = JsonSchema.FromType(_generatorSettings); schema.Title = _title; - FixOneOf(schema); + // FixOneOf(schema); return schema; } }