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
NOTE:
for fix testings, should note that if the XmlElementWrapper name and field name is the same (both equal to "messages" in this case, then will get
There's still a small issue with what swagger-core outputs, but the rendered result is still wrong. It should take the name of the referenced model, whether that one has an xml property in it or not.
Hi,
this is a re-post of swagger-api/swagger-core#2170 against swagger-ui as per suggested.
To recap the issue,
using swagger 1.5.13, swagger-ui 3, the following jaxb annotations
will be outputted (with swagger-jersey2-jaxrs) as:
but in swagger-ui, it's being outputted as:
NOTE:
for fix testings, should note that if the XmlElementWrapper name and field name is the same (both equal to "messages" in this case, then will get
but if they are not the same, like the following, then the spec output will be
Thanks,
Bill
The text was updated successfully, but these errors were encountered: