kin-openapi
kin-openapi copied to clipboard
YAML Marshal out of order
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
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?