0.81.0
(feat):
Control how type references are wrapped when they refer to nullable schemas using the new wrap-references-to-nullable-in-optional
setting:
true
: When a type reference points to a nullable schema, it will be wrapped inoptional<>
.false
: When a type reference points to a nullable schema, it will be wrapped innullable<>
. The default istrue
.
(feat):
Add new coerce-optional-schemas-to-nullable
setting to control how optional schemas are treated:
true
: Optional schemas will be coerced to nullable, resulting innullable<T>
.false
: Optional schemas will remain asoptional<T>
. The default istrue
.
(feat):
Add type for nullable schema examples.
If a schema is nullable, examples for its inner type will be parsed or generated, or null
will be used as an example if no inner examples are available.
0.80.2
(chore):
Update migrations for go to support IRv60.