kin-openapi icon indicating copy to clipboard operation
kin-openapi copied to clipboard

YAML Marshal out of order

Open localhosted opened this issue 3 years ago • 1 comments

When following the tests in https://github.com/getkin/kin-openapi/blob/ed98f50ff5afcacd39585f52ef4cd2b0c3b0752a/openapi2/openapi2_test.go#L10 the marshalled yaml comes out of order, so the resulting yaml doesn't validate in any editor

localhosted avatar May 09 '22 20:05 localhosted

I'm not sure what you're talking about. Could you share some code that reproduces the issue or at least the YAML you mention?

fenollp avatar Jun 01 '22 17:06 fenollp