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

Add original sort order as top fields ordering #353

Open
cal4 opened this issue Nov 16, 2022 · 1 comment
Open

Add original sort order as top fields ordering #353

cal4 opened this issue Nov 16, 2022 · 1 comment

Comments

@cal4
Copy link

cal4 commented Nov 16, 2022

Idea here is to add a option to the --order field. The usage would be to produce a document where the order of the to-document matches the order of the from-document as closely as possible.

This may not apply for disjoint formats, but could be useful when converting from OpenAPI 2 to 3 (and vice-versa). Results in less scrolling when comparing documents.

@diogonborges
Copy link

This would be very helpful

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

No branches or pull requests

2 participants