Revert giving get() a default

As per the PR review.

Signed-off-by: Alexey Rusakov <Alexey.Rusakov@pm.me>
pull/977/head
Kitsune Ral 6 years ago
parent c6bfac41c5
commit 346db48588

@ -51,7 +51,7 @@ def check_schema(filepath, example, schema):
def check_parameter(filepath, request, parameter):
schema = parameter.get("schema", {})
schema = parameter.get("schema")
example = schema.get('example')
if example and schema:

Loading…
Cancel
Save