Revert giving get() a default

As per the PR review.

Signed-off-by: Alexey Rusakov <Alexey.Rusakov@pm.me>
This commit is contained in:
Kitsune Ral 2018-07-29 14:04:07 +09:00
parent c6bfac41c5
commit 346db48588

View file

@ -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: