Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs/openapi spec sorted yaml #7480

Closed
wants to merge 6 commits into from
Closed

Conversation

kikito
Copy link
Member

@kikito kikito commented Jun 22, 2021

This PR = #7413 - the last commit, "force entries order in generated file" + a lyaml low-level dumper that generates sorted yamls instead + some other minor things.

The reason why the dumper is so much code is because lyaml doesn't expose its internal dumper, so the only way to do sorted yaml is copy-pasting the whole thing in order to edit one tiny part of the dump_mapping function (to do the key sort before iterating over the table). Related: gvvaughan/lyaml#46

@locao
Copy link
Contributor

locao commented Jun 22, 2021

We decided to not use this change.

@locao locao closed this Jun 22, 2021
@kikito kikito deleted the docs/openapi_spec-sorted-yaml branch June 23, 2021 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants