According to https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.1.md#data-typesdate-time, uuid and email (which is already supported by joi-to-json) can be used despite not being defined by the spec. I have also thrown in convertion of isoDuration to duration which is covered by ajv with ajv-formats (which is what I use to do JSON Schema based validation).
According to https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.1.md#data-types
date-time
,uuid
andemail
(which is already supported byjoi-to-json
) can be used despite not being defined by the spec. I have also thrown in convertion ofisoDuration
toduration
which is covered byajv
withajv-formats
(which is what I use to do JSON Schema based validation).