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
swagger module should support JAXBElement #885
Comments
I can look into adding support for |
Will this fix/enhancement also be available in enunciate-openapi module generated openapi.yaml ? |
Started digging into this, but I need some more context so I can correctly implement an enhancement. Is If intended to be used in JSON endpoints, how is the result expected to be the unwrapped value? Do you have some kind of custom Jackson mapping logic for |
Moving to release 2.13, pending response with more information. |
For now, it is intended for only xml end point. I mean accept-type : application/xml |
Fix to be included in 2.13. |
Enunciate version 10.x - 11.x
JAX-RS web api
In all versions it produces wrong Response class unless the return value is a Simple Type.
If it is generic type like the following examples, it generates the following info (viewing from Enunciate generated swagger ui )
Response Class (Status 200)
file
Some of the non-working signatures:
Question:
NOTE: All the referred classes are available in classpath. When I use @returnWrapped with full path of the Class, they generate correct documentation. I tried atleast for one of them.
The text was updated successfully, but these errors were encountered: