Normalise OpenAPI 3.0.x nullable keyword to anyOf [T, null].
OpenAPI 3.0 uses nullable: true instead of the JSON Schema standard
anyOf: [T, { type: "null" }]. The walker understands the latter form
natively, so this normaliser converts nullable to anyOf.
Only applied when nullable is explicitly true. nullable: false or
absent is the default and requires no transformation.
Normalise OpenAPI 3.0.x
nullablekeyword toanyOf [T, null].OpenAPI 3.0 uses
nullable: trueinstead of the JSON Schema standardanyOf: [T, { type: "null" }]. The walker understands the latter form natively, so this normaliser convertsnullabletoanyOf.Only applied when
nullableis explicitlytrue.nullable: falseor absent is the default and requires no transformation.