stoicflame / enunciate-openapi

OpenAPI3 module for Enunciate
Apache License 2.0
10 stars 10 forks source link

Enunciate openapi module support for JAXBElement #7

Closed sakthisunda closed 5 years ago

sakthisunda commented 6 years ago

Enunciate version 11.x JAX-RS web api enunciate-openapi

When I run enunciate on my Java package JAXBElements are not getting into final openapi.yaml

Method signature: public JAXBElement\(

For the above signature, the wrong response model is returned. Response Model: String

Screenshot attached ( from Swagger editor )

jaxbelement support

jskov-jyskebank-dk commented 5 years ago

Sorry, I have no idea of what this means. If it is still relevant, please re-open with a full resource method example, and the OpenSpec output you would expect.

sakthisunda commented 5 years ago

I expected it to support generic type JAXBElement. That is all. Here it is returned as empty String. I expect XMLElement.

jskov-jyskebank-dk commented 5 years ago

I have no personal experience with JAXBElement. If you want me to look into it, I need a concrete code example, and what output you expect.