NJsonSchema
NJsonSchema copied to clipboard
JsonSchemaAttribute - not possible to specify string array
when i use the attribute like this:
[JsonSchema(JsonObjectType.Array, ArrayItem = typeof(string))]
and then process it through the client generator i get the property as any[][] now yes, a string is essentially an array but we can't make it look like this!
i hope it's posisble to fix it. if there is already a workaround, please tell me, or if there are any alternatives to using this attribute