Changed
--avoid-type-null
is now deprecated, and acts as an alias for--use-nullable-for-merge-patch
. This flag now generates complete OpenAPI 3.0-compatible MergePatch types using a clever hack based onnullable: true
andoneOf:
. It also now sets the file version number toopenapi: 3.0.0
when used, because 3.1 does not supportnullable: true
. Thank you to @hanakslr!