x-order not retaining the order mentioned in spec
https://github.com/deepmap/oapi-codegen/issues/1607 x-order is given as a solution for the above issue. But even after giving x-order still the order of the props coming in alphabetic order instead of what mentioned in spec.
Are you sure you are running the latest v2.1.0? Because x-order was only introduced in these latest and recent release. I had the same issue but after updating to v2.1.0 it works. Also note as explained in the README that x-order is starting with the value 1, not 0.
@bjarnemagnussen is this v2.1.0 openapi version, which will be given in spec? Can you specify where I have to change this.?
@suppula-apptio sorry, not the version of the spec but the version of oapi-codegen