Re: The new camel-swagger-java module in Apache Camel 2.16

2015-09-25 Thread Claus Ibsen
Hi Yeah sure if its CXF 3.1.x that are jackson 2.4.x I think we can set the osgi range of camel-swagger-java to be compatible. It would after all be great if we get this working on karaf and potential with camel-cxfrs or CXF-RS being able to leverage this too. On Fri, Sep 25, 2015 at 2:48 PM, A

Re: The new camel-swagger-java module in Apache Camel 2.16

2015-09-25 Thread Aki Yoshida
thanks. 2015-09-25 14:56 GMT+02:00 Andrea Cosentino : > I've upgraded Jackson to 2.6.2 while Claus was working on > Camel-swagger-java.. I wasn't aware of this problem, but we can downgrade > Jackson for the moment and bring it back to version 2.6.1. > --Andrea Cosentino --

Re: The new camel-swagger-java module in Apache Camel 2.16

2015-09-25 Thread Andrea Cosentino
I've upgraded Jackson to 2.6.2 while Claus was working on Camel-swagger-java.. I wasn't aware of this problem, but we can downgrade Jackson for the moment and bring it back to version 2.6.1. --Andrea Cosentino  -Apache Camel Committer   Email: ancosen1...@yahoo.com

Re: The new camel-swagger-java module in Apache Camel 2.16

2015-09-25 Thread Aki Yoshida
Hi Claus, The OSGi sample was included in CXF 3.1.3 and it uses this installer description at the moment. https://github.com/apache/cxf/blob/master/distribution/src/main/release/samples/jax_rs/description_swagger2_osgi/src/test/resources/features/features.xml The same sample is also in 3.0.7-SNAPS

Re: The new camel-swagger-java module in Apache Camel 2.16

2015-09-25 Thread Claus Ibsen
What version of CXF is that? On Fri, Sep 25, 2015 at 1:05 PM, Aki Yoshida wrote: > Hi Claus, > Cool. > > I wanted to try it out on the Karaf setup that we have for CXF with > swagger 1.5.4. > > Then I noticed that camel-swagger-java is asking for jackson [2.6,3). > I am wondering if we could mak

Re: The new camel-swagger-java module in Apache Camel 2.16

2015-09-25 Thread Aki Yoshida
Hi Claus, Cool. I wanted to try it out on the Karaf setup that we have for CXF with swagger 1.5.4. Then I noticed that camel-swagger-java is asking for jackson [2.6,3). I am wondering if we could make it down to [2.4,3). swagger itself is currently using 2.4.x and in the CXF's current Karaf setu

The new camel-swagger-java module in Apache Camel 2.16

2015-09-23 Thread Claus Ibsen
Hi I just recorded a 5 minute video showing this in action http://www.davsclaus.com/2015/09/apache-camel-216-swagger-java-and-api.html At least with this new model the swagger is more light-weight (just java) and its auto detected easily from Camel, and you can run it in any JVM (not only servlet