You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The maven plugin from OpenAPI tools has to sort the output manually now. This is a problem for projects where the OpenAPI specification is committed. Also see openapi-tools/swagger-maven-plugin#49.
io.swagger.models.Swagger#definitions is using a HashMap as its implementation. This leads to unstable results when serializing the spec to json.
I'd like to change the implementation to use a TreeMap<String, Model> instead. This makes sure, that the map is always sorted the same way.
I'm happy to provide a pull request.
The text was updated successfully, but these errors were encountered: