Skip to main content

flatten_unions

Function flatten_unions 

Source
fn flatten_unions(value: &mut Value)
Expand description

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.