v0.7.0
Removed type string as the default value when a prop is created
S.object().prop('foo')was generating this schema:
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"foo": {
"type": "string",
}
}
}
now it returns this one:
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"foo": {}
}
}
which is correct because a prop without a type accepts any, not a string