fn flatten_unions(value: &mut Value)
Removes the unions schemars emits (nullable types, null alternatives, string enums with documented variants), which Codex would flatten. Optional fields stay out of required instead.
null
required