Closed
Description
It would make the definition, in my opinion, more readable and robust if the additionalProperty attribute would only allow object values.
The former additionalProperties = false would be represented by the default empty object value {}. The former additionalProperties = true could be achieved with something like this (or possibly using anyOf?):
additionalProperties: {
"$ref": "#/definitions/simpleTypes"
}
This would also disallow additionalProperties by default.