api-spec-converter icon indicating copy to clipboard operation
api-spec-converter copied to clipboard

Add original sort order as top fields ordering

Open cal4 opened this issue 2 years ago • 1 comments

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.

cal4 avatar Nov 16 '22 19:11 cal4

This would be very helpful

diogonborges avatar Oct 23 '23 11:10 diogonborges