Swaggerify push notification API
Edit units.py to support nested JSON request keys
This commit is contained in:
parent
a9618a981b
commit
31ae4b3859
5 changed files with 218 additions and 10 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue