You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By looking at the screenshot below you will find that the order of the properties are wrong (Top right in screenshot). I find that it only happens if the model have more than 8 properties:
First - thank you for opening the ticket here and not in swagger-editor. Makes our management easier :)
There's a technical issue here - objects do not really have ordered properties, so guaranteeing that the order is kept is theoretically out of scope. In practice, most modern parsers tend to keep ordering, so it makes it easier to control. Odd case that it changes based on the number of entries.
By looking at the screenshot below you will find that the order of the properties are wrong (Top right in screenshot). I find that it only happens if the model have more than 8 properties:
The YAML to test on http://editor.swagger.io is:
The text was updated successfully, but these errors were encountered: