For some reason I'm finding these messages in the spam folder...

Sorry. I don't  understand what you mean below.
If you prefer to return JAX-RS Response then there must be a way to tell Swagger what the entity type is and this is why Swagger annotations have to be used in such cases.

Sergey
On 07/09/17 05:13, arjun dhar wrote:
Hmmm thats what I feared, but thank you.

Out of technical curiosity. There is something pristine about method
signature, and should not CXF allow to preserve that sugar and provide its
annotation(s) to allow the response be wrapped in a ResponseBuilder for the
other classes down the layer to implemented.

For example Spring does this beautifully using `@Cache` etc. To alter a
signature based on trivial things like cache or no cache seems a bit ugly to
me. Not a big deal .. but just trying to understand.

If this is discussed, would love if I can be pointed to any discussion
existing around it.

thank you for your response.



--
Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html

Reply via email to