add type parameters to serde_json::Map
This commit is contained in:
parent
b111e3352d
commit
2f60a92933
|
@ -242,7 +242,7 @@ fn schema_type_name(
|
||||||
// Checking for a space filters that out
|
// Checking for a space filters that out
|
||||||
(Some(title), _) if !title.contains(' ') => title.to_string(),
|
(Some(title), _) if !title.contains(' ') => title.to_string(),
|
||||||
(_, Some(definition_name)) => definition_name.to_string(),
|
(_, Some(definition_name)) => definition_name.to_string(),
|
||||||
(_, None) => "serde_json::Map".to_string(),
|
(_, None) => "serde_json::Map<String, serde_json::Value>".to_string(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue