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
We have observed a strange behaviour with the Serialisation of an OpenAPI instance with Yaml.mapper().writeValueAsString(openAPI) produces different results:
From a semantic point of view, the content is the same. But my expectation is to get the content always serialised the same way.
I did not understood what is producing the difference.
Maybe it depends from the JVM.
In my opinion io.swagger.v3.core.jackson.SchemaSerializer could and should be improved. It seems to me that the defaultSerializer is not working as expected.
I am open for suggestions.
The text was updated successfully, but these errors were encountered:
We have observed a strange behaviour with the Serialisation of an OpenAPI instance with
Yaml.mapper().writeValueAsString(openAPI)
produces different results:From a semantic point of view, the content is the same. But my expectation is to get the content always serialised the same way.
I did not understood what is producing the difference.
Maybe it depends from the JVM.
In my opinion
io.swagger.v3.core.jackson.SchemaSerializer
could and should be improved. It seems to me that thedefaultSerializer
is not working as expected.I am open for suggestions.
The text was updated successfully, but these errors were encountered: