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
Describe the bug
The new alpha ordering in components.schemas is very nice, albeit I now need to find a way to verify a very large re-ordered diff, but it will be worth the pain if the new order is stable. It is a great problem to have, and im sure helpful tools abound for it.
However, I have a dejected BundleTypeEnum that has been pushed out of place to the end of the array for no apparent reason, coming from the API exposed by https://pypi.org/project/django-oscar-bundles/ . Note I am not using that API atm, so this is extremely low priority for me, and an isolated case, but it would be great to have the whole alpha ordering thing fully solved.
honestly i didn't go all the way. components are properly sorted now, but the enums are just appended at the end in order of occurrence. i found it to be visually easier in swagger ui, but you are right. it is not 100% consistent. we should probably just sort them all flat out and be done with it forever. do you agree?
I agree; good data docs have stable structures. Either it preserves existing ordering as found in the pre-existing doc (doable with ruamel.yaml, but painful, brittle, time consuming whackamole approach), or force sane sorting algorithm throughout. Otherwise algorithm changes cause elements to jump around.
Describe the bug
The new alpha ordering in
components.schemas
is very nice, albeit I now need to find a way to verify a very large re-ordered diff, but it will be worth the pain if the new order is stable. It is a great problem to have, and im sure helpful tools abound for it.However, I have a dejected
BundleTypeEnum
that has been pushed out of place to the end of the array for no apparent reason, coming from the API exposed by https://pypi.org/project/django-oscar-bundles/ . Note I am not using that API atm, so this is extremely low priority for me, and an isolated case, but it would be great to have the whole alpha ordering thing fully solved.The text was updated successfully, but these errors were encountered: