feat: Add examples #54

Merged
JCHacking merged 14 commits from examples into main 2025-11-23 23:10:27 +00:00
Showing only changes of commit 9bc16ff1aa - Show all commits

View File

@@ -63,7 +63,6 @@ class StringTypeParser(GenericTypeParser):
if format_type in self.format_pattern_mapping:
mapped_properties["pattern"] = self.format_pattern_mapping[format_type]
print("A")
if "examples" in mapped_properties:
mapped_properties["examples"] = [
self.__parse_example(example, format_type, mapped_type)