Open darkflame0 opened 1 year ago
example
[JsonSchemaType(typeof(string),typeof(string[]))] public object Prop { get; set; }
or
[JsonSchemaType(typeof(string))] [JsonSchemaType(typeof(string[]))] public object Prop { get; set; }
You can do the following as a work around:
[JsonSchemaExtensionData("type", new[] { "boolean", "integer", "string" })] public object Value { get; set; }
example
or