mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 09:58:06 +00:00
api docs: Add missing space in exception's message.
This commit is contained in:
committed by
Tim Abbott
parent
2d1adc8d99
commit
f3277500de
@@ -40,7 +40,7 @@ def validate_against_openapi_schema(content: Dict[str, Any], endpoint: str,
|
|||||||
for key, value in content.items():
|
for key, value in content.items():
|
||||||
# Check that the key is defined in the schema
|
# Check that the key is defined in the schema
|
||||||
if key not in schema['properties']:
|
if key not in schema['properties']:
|
||||||
raise SchemaError('Extraneous key "{}" in the response\'s'
|
raise SchemaError('Extraneous key "{}" in the response\'s '
|
||||||
'content'.format(key))
|
'content'.format(key))
|
||||||
|
|
||||||
# Check that the types match
|
# Check that the types match
|
||||||
|
|||||||
Reference in New Issue
Block a user