Skip to main content

wrap_definitions

Function wrap_definitions 

Source
pub fn wrap_definitions(definitions: Map<String, Value>) -> Value
Expand description

Wraps a flat definitions map in the schema envelope the crate’s build.rs expects ($schema/title/description/type/definitions, in that field order).