-
Notifications
You must be signed in to change notification settings - Fork 136
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
object schema properties should adhere to @JsonPropertyOrder and @XmlType(propOrder) #27
Comments
Sounds reasonable. Pull request would be great, but sounds like this should be simple enough for developers to fix (with matching unit tests). |
I'm also having issues with the ordering of the properties |
Same here. It would be nice to retain the properties order. |
This issue is pretty old, will it be addressed? Or there is another way to set the property order in the schema? |
I don't think anyone is working on this issue. It would seem doable, if anyone has time and itch and willingness to help. Having said that, how about I go and see if this could be solved by a trivial fix to use |
Oh. Actually there is a contribution, PR #76 for this. I'll try to get that moving. |
Make Object schema properties retain order (wrt @JsonPropertyOrder etc) (see #27)
Fixed, part of 2.6.2. |
When creating a schema node for a class annotated with either @JsonPropertyOrder or @XmlType(propOrder = {...}) then the schema node should retain the specified order of properties.
Currently ObjectSchema contains HashMaps properties and patternProperties which garble the property order.
The text was updated successfully, but these errors were encountered: