- Added Features
- Copy meta properties to the referenced schema itself
- Fixes
- Conversion of multiple .shared() produces invalid schema (#51)
-
Added Features
- Adds 'open-api-3.1' format support.
-
Fixes
- Change type to be 'integer' instead of 'number' if it's const (#50)
- Added Features
- Adds option
includeSchemaDialect
to enable including$schema
in schema output. (#46) - Adds
exclusiveMaximum/exclusiveMinimum
tonegateive/positive
number type schema. (#47)
- Adds option
- Fixes
- Missing support on
title
in meta
- Missing support on
[BREAKING]
-
Added Features
- Supports
If-Then-Else
keyword by default for supported JSON Spec forwhen
andalternatives
- Supports
invalid
keyword using{ not: { enum: [] } }
- Supports
has
keyword usingcontains
- Supports
alternatives().try().match()
- Supports
-
Misc Change
- Reorganize Test Fixtures and Cases
- Better
null
type handling - Better
const
type handling
-
Fixes
- Missing support on
readOnly
andwriteOnly
for Draft-2019-09 - Invalid any type for OpenAPI
- Missing support on
- Fix Typescript definition.
- Add support for relation operator
with
andwithout
.
- [BREAKING] Default enable feature: relation operator
and
,or
,nand
,xor
,oxor
.