Hi Raphael
On 11/03/13 20:05, Raphael Vullriede wrote:
Hi,

On 03/07/2013 03:10 PM, sparklo wrote:
Hi Raphael,

Any luck with it? I am having the exact same problem.

Thanks,

Randy

Actually yes :-) I've played around a bit with using an own
Application.class that detects the ressources via annotation scanning.
You can find a working sample app here:
https://github.com/rvullriede/swagger-core/tree/master/samples/swagger-java-sample-app-cxf

Very nice, I wonder, if using that Reflections project can be the fastest way to CXF supporting the optional auto-discovery of custom providers which do not need to be configured, which will work with or without Spring.

Re Applications, I've been also thinking of the JAX-RS factory bean creating a default Application if no custom Application has been set, specifically for the purpose of supporting the injection of Application.

Thanks, Sergey


Best,
Raphael

Reply via email to