feat: better exceptions for GenericTypeParser and AllOfTypeParser

This commit is contained in:
2025-09-13 21:10:14 -03:00
parent e61d48881f
commit f4d84d2749
3 changed files with 17 additions and 8 deletions

View File

@@ -60,7 +60,7 @@ class TestSchemaConverter(TestCase):
"type": "string",
}
with self.assertRaises(TypeError):
with self.assertRaises(ValueError):
SchemaConverter.build(schema)
def test_is_invalid_field(self):