Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Unknown
Description
In camel-rest we have some code that detects camel-swagger-java. We should add the new camel-openapi component too
if (apiDoc != null) {
log.debug("Discovering camel-swagger-java on classpath for using api-doc: {}", apiDoc);
// lookup on classpath using factory finder to automatic find it (just add camel-swagger-java to classpath etc)
try
catch (NoFactoryAvailableException e)
{ throw new IllegalStateException("Cannot find camel-swagger-java on classpath to use with api-doc: " + apiDoc); }}