2 writes to Enum
Shared (2)
JsonSchemaExporter\JsonSchemaExporter.cs (2)
669new JsonSchema { Enum = new() { (JsonNode)"NaN", (JsonNode)"Infinity", (JsonNode)"-Infinity" } }, 761return new() { Enum = enumValues };
5 references to Enum
Shared (5)
JsonSchemaExporter\JsonSchemaExporter.cs (2)
228if (schema.Enum != null) 231schema.Enum.Add(null); // Append null to the enum array.
JsonSchemaExporter\JsonSchemaExporter.JsonSchema.cs (3)
301Count(Enum != null); 413if (Enum != null) 415objSchema.Add(JsonSchemaConstants.EnumPropertyName, Enum);