mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
Don't sort the properties in object schemas
It makes more sense for us to order the properties manually in the yaml file, rather than forcing their alphabeticising.
This commit is contained in:
parent
3edff684a1
commit
f438644ec3
|
|
@ -151,7 +151,7 @@ def get_json_schema_object_fields(obj, enforce_title=False, include_parents=Fals
|
|||
|
||||
tables = [fields]
|
||||
|
||||
for key_name in sorted(props):
|
||||
for key_name in props:
|
||||
logger.debug("Processing property %s.%s", obj.get('title'), key_name)
|
||||
value_type = None
|
||||
required = key_name in required_keys
|
||||
|
|
|
|||
Loading…
Reference in a new issue