Given this schema part:
Example: {
type: "object",
additionalProperties: false,
properties: {
exampleXyz: {
type: "string",
nullable: false,
},
},
nullable: true,
},
I would expect a request which uses to be able to pass in the value null for it in the generated open API client. In reality it does not allow a null value. This can be worked around at the minute by ignoring the typings. Or to move the nullable outside the schema e.g.:
ExampleParent: {
oneOf: [
{
$ref: "#/components/schemas/Example",
},
{
type: "null",
},
],
},
Expected behaviour: the body field can be set to null
Given this schema part:
I would expect a request which uses to be able to pass in the value null for it in the generated open API client. In reality it does not allow a null value. This can be worked around at the minute by ignoring the typings. Or to move the nullable outside the schema e.g.:
Expected behaviour: the body field can be set to null