I'm having a rest service implemented using Apache Camel with DSL defined in XML. The rest services provides Swagger API in json using camel-swagger-java plugin
Is springfox an alternative here?
The api is generated correctly, but missing securityDefinitions and security which is required. How can I include that in the generated api. I'm using basicAuth.
I need the below block in the json root
"securityDefinitions": {
"basicAuth": {
"type": "basic",
"description": "abc"
}
}
and below block inside different 'paths'
"security": [
{
"basicAuth": [
]
}
]
Any input greatly appreciated