mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Flatten inheritance hierarchy
This commit is contained in:
parent
4666284864
commit
88258a6be7
@ -18,7 +18,8 @@ public static class SchemaExporter
|
|||||||
var settings = new JsonSchemaGeneratorSettings
|
var settings = new JsonSchemaGeneratorSettings
|
||||||
{
|
{
|
||||||
IgnoreObsoleteProperties = true,
|
IgnoreObsoleteProperties = true,
|
||||||
DefaultReferenceTypeNullHandling = ReferenceTypeNullHandling.NotNull
|
DefaultReferenceTypeNullHandling = ReferenceTypeNullHandling.NotNull,
|
||||||
|
FlattenInheritanceHierarchy = true
|
||||||
};
|
};
|
||||||
Console.WriteLine("Outputting Body Schema");
|
Console.WriteLine("Outputting Body Schema");
|
||||||
var bodySchema = new Schema<PlanetConfig>("Celestial Body Schema", $"{folderName}/body_schema", settings);
|
var bodySchema = new Schema<PlanetConfig>("Celestial Body Schema", $"{folderName}/body_schema", settings);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user