Fix error in map schema generation
This commit is contained in:
parent
d79f0f56b0
commit
076cf423c3
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ macro_rules! map_impl {
|
|||
let mut extensions = Map::new();
|
||||
extensions.insert(
|
||||
"additionalProperties".to_owned(),
|
||||
json!(gen.subschema_for::<T>())
|
||||
json!(gen.subschema_for::<V>())
|
||||
);
|
||||
SchemaObject {
|
||||
instance_type: Some(InstanceType::Object.into()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue