I am working on converting an API from slim / PHP to flask / Python.
I am using a JSON validator in the slim application, and in that case, all keys specified in the objects within the schema are required by default. Causing validation failures if a key is missing, unless specified as "optional".
I am installed pip install jsonschema
for use in my python. By default the keys are not required unless specified as required after the object.
Is there any way to make the python "version" of this validator work like the slim "version" I was working with? This would save a ton of updating the schema's I have already defined.