When using JSON.Net JsonSchemaGenerator to generate a JSON scheme for my object:
Public Class Host Public Property uid() As String End Class
It generates a type property as an array of strings:
{ "type": "object", "properties": { "uid": { "required": true, "type": [ "string", "null" ] } } }
The native JSON schema should be:
{ "type": "object", "properties": { "uid": { "required": true, "type": "string" } } }
Has anyone seen this before?
Dan m source share