Swaggerify push notification API

Edit units.py to support nested JSON request keys
This commit is contained in:
Kegan Dougal 2015-10-08 13:08:21 +01:00
parent a9618a981b
commit 31ae4b3859
5 changed files with 218 additions and 10 deletions

View file

@ -51,7 +51,7 @@ def check_parameter(filepath, request, parameter):
schema['id'] = fileurl
jsonschema.validate(example, schema)
except Exception as e:
raise ValueError("Error validating JSON schema for %r %r" % (
raise ValueError("Error validating JSON schema for %r" % (
request
), e)