swaggerConfig.setApiVersion(apiSource.getApiVersion());
swaggerConfig.setSwaggerVersion(SwaggerSpec.version());
List<ApiListingReference> apiListingReferences = new ArrayList<ApiListingReference>();
if (apiSource.getSwaggerInternalFilter() != null) {
FilterFactory$ filterFactory = FilterFactory$.MODULE$;
try {
LOG.info("Setting filter configuration: " + apiSource.getSwaggerInternalFilter());
filterFactory.filter_$eq((SwaggerSpecFilter) Class.forName(apiSource.getSwaggerInternalFilter()).newInstance());
} catch (Exception e) {
throw new GenerateException("Cannot load: " + apiSource.getSwaggerInternalFilter(), e);
}
}