Skip to main content

shape_of

Function shape_of 

Source
pub fn shape_of(property: &Value, defs: Option<&Value>) -> ValueShape
Expand description

Derives the shape of one property of an arguments schema.

defs is the schema’s $defs, for properties that reference an enum there.