default to serde_json::Value
for empty schemas
This commit is contained in:
parent
a30f114064
commit
fdcf4a4c2e
2 changed files with 5 additions and 5 deletions
|
@ -117,7 +117,7 @@ fn schema_type_name(
|
|||
SchemaType::List(_) => todo!(),
|
||||
}
|
||||
} else {
|
||||
Ok("()".into())
|
||||
Ok("serde_json::Value".into())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue