I got the problem resolved:
I was giving the below type & outType in the REST definition. On removing it
i can get the swagger definition as was shown in your video demo!!!
type="java.util.HashMap" outType="java.util.LinkedHashMap"
Thanks for your time and patience.
--
View this message in co
There is a xml example here, though it uses blueprint instead of
spring, but same principle
https://github.com/apache/camel/tree/master/examples/camel-example-servlet-rest-blueprint
On Fri, Jan 22, 2016 at 8:01 PM, urwithsumit wrote:
> Hi,
> I am developing 2 REST api using camel REST DSL with Se
@Matt: I already have the restConfiguration defined in the context.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Swagger-Java-Unable-to-generate-the-API-Swagger-definition-tp5776570p5776577.html
Sent from the Camel - Use
Still no luck after removing the camel: inside the
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Swagger-Java-Unable-to-generate-the-API-Swagger-definition-tp5776570p5776576.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Remove the camel: prefix inside your
On Fri, Jan 22, 2016 at 8:01 PM, urwithsumit wrote:
> Hi,
> I am developing 2 REST api using camel REST DSL with Servlet. I am using
> SPring DSL and have followed the example camel-example-swagger-java which
> comes as part of 2.16 release.
>
> I am not able
You need a restConfiguration I think.
On 22 January 2016 at 13:01, urwithsumit wrote:
> Hi,
> I am developing 2 REST api using camel REST DSL with Servlet. I am using
> SPring DSL and have followed the example camel-example-swagger-java which
> comes as part of 2.16 release.
>
> I am not able to