gecBurton / djangorestframework-jsonschema

djangorestframework-jsonschema
ISC License
6 stars 0 forks source link

initial class for multiple of validator #12

Open LorenaLorene opened 4 years ago

LorenaLorene commented 4 years ago

possible solution, still not tested properly and not sure if it gets picked up just by using validators.BaseValidator

gecBurton commented 4 years ago

good :)

a couple of changes required and some tests

take a look at https://github.com/gecBurton/djangorestframework-jsonschema/blob/master/jsonschema2dj/valdiators.py for some ideas including tests (note that as with GEL there are unit tests and higher level component tests)