(comp_schema, is_required)
| 745 | hybrid_name = name |
| 746 | |
| 747 | def add_component(comp_schema, is_required): |
| 748 | if (ref := comp_schema.get("$ref")) is not None: |
| 749 | comp_schema = self._refs[ref] |
| 750 | |
| 751 | if "properties" in comp_schema: |
| 752 | for prop_name, prop_schema in comp_schema["properties"].items(): |
| 753 | properties.append((prop_name, prop_schema)) |
| 754 | if is_required: |
| 755 | required.add(prop_name) |
| 756 | |
| 757 | for t in schema["allOf"]: |
| 758 | if "anyOf" in t: |