Ref type means no schema type

This commit is contained in:
Piotr Siuszko 2025-07-06 22:39:57 +02:00
parent 08f17bb337
commit 06c4a96c0d

View File

@ -1727,6 +1727,9 @@ impl TypeDefinitionBuilder for TypeRegistry {
}
_ => {}
}
if schema.ref_type.is_some() {
schema.schema_type = None;
}
Some(schema)
}