feat: adds example to allOf

This commit is contained in:
2025-11-23 18:59:47 -03:00
parent cfbe1f38c8
commit ffbd124cf9
3 changed files with 67 additions and 0 deletions

View File

@@ -27,6 +27,9 @@ class AllOfTypeParser(GenericTypeParser):
sub_properties
)
if (examples := properties.get("examples")) is not None:
combined_properties["examples"] = examples
return parser().from_properties_impl(name, combined_properties, **kwargs)
@staticmethod