Swaggerify the /enabled endpoint
This commit is contained in:
parent
56ce432399
commit
a9618a981b
5 changed files with 112 additions and 39 deletions
|
@ -52,7 +52,7 @@ def check_parameter(filepath, request, parameter):
|
|||
jsonschema.validate(example, schema)
|
||||
except Exception as e:
|
||||
raise ValueError("Error validating JSON schema for %r %r" % (
|
||||
request, code
|
||||
request
|
||||
), e)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue