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.
pull/977/head
Richard van der Hoff 9 years ago
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…
Cancel
Save