Since the data type conversion from Common Names to type/format pairs is dropped in version 2.0.0, we should accept only types defined by OpenAPI spec and throw if something else is encountered.
Currently e.g. type: dateTime is silently passed through to the JSON schema which leads to an invalid schema.
Since the data type conversion from Common Names to type/format pairs is dropped in version 2.0.0, we should accept only
type
s defined by OpenAPI spec and throw if something else is encountered.Currently e.g.
type: dateTime
is silently passed through to the JSON schema which leads to an invalid schema.