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 in optional<>.
  • false: When a type reference points to a nullable schema, it will be wrapped in nullable<>. The default is true.

(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 in nullable<T>.
  • false: Optional schemas will remain as optional<T>. The default is true.

(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.