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 context: http://camel.465427.n5.nabble.com/Camel-Swagger-Java-Unable-to-generate-the-API-Swagger-definition-tp5776570p5776581.html Sent from the Camel - Users mailing list archive at Nabble.com.