How can we integrate camel with springfox for swagger api generation? I'm not sure if it's possible. Currently we are using camel-swagger-java component, but is not flexible enough for our use case below. As per my understanding springfox expects the rest paths to be definedin spring controller
We're using basic authentication for our service, and the the paths are defined through XML, need the securityDefinitions in generated api. camel-swagger-java doesn't allow this to be configured, it seems. This is how our current setup looks like
<restConfiguration component="jetty" bindingMode="json" contextPath="/" port="8080" apiContextPath="/api-doc" host="0.0.0.0">
<apiProperty key="api.title" value="Title"/>
</restConfiguration>
<rest path="" consumes="application/json" produces="application/json">
<description>xyz</description>
<post uri="query" type="com.myRequest" outType=com.myResponse">
<description>abc</description>
<to uri="direct-vm:someRoute"/>
</post>
</rest>
Any help greatly appreciated