pub fn add_new_subschema(
generator: &mut SchemaGenerator,
name: &str,
schema: Value,
) -> SchemaExpand description
Adds a new JSON schema definition and returns a reference to it. Panics if the name is already in use.
pub fn add_new_subschema(
generator: &mut SchemaGenerator,
name: &str,
schema: Value,
) -> SchemaAdds a new JSON schema definition and returns a reference to it. Panics if the name is already in use.