mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-02 01:04:10 +02:00
Revert giving get() a default
As per the PR review. Signed-off-by: Alexey Rusakov <Alexey.Rusakov@pm.me>
This commit is contained in:
parent
c6bfac41c5
commit
346db48588
|
|
@ -51,7 +51,7 @@ def check_schema(filepath, example, schema):
|
||||||
|
|
||||||
|
|
||||||
def check_parameter(filepath, request, parameter):
|
def check_parameter(filepath, request, parameter):
|
||||||
schema = parameter.get("schema", {})
|
schema = parameter.get("schema")
|
||||||
example = schema.get('example')
|
example = schema.get('example')
|
||||||
|
|
||||||
if example and schema:
|
if example and schema:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue