apiListingReferenceScanner.scan();
apiListingReferences = apiListingReferenceScanner.getApiListingReferences();
Map<ResourceGroup, List<RequestMappingContext>> resourceGroupRequestMappings =
apiListingReferenceScanner.getResourceGroupRequestMappings();
ApiListingScanner apiListingScanner = new ApiListingScanner(resourceGroupRequestMappings, swaggerPathProvider,
modelProvider, authorizationContext, customAnnotationReaders);
apiListingScanner.setApiDescriptionOrdering(apiDescriptionOrdering);
apiListingScanner.setSwaggerGlobalSettings(swaggerGlobalSettings);
apiListingScanner.setResourceGroupingStrategy(apiListingReferenceScanner.getResourceGroupingStrategy());
Map<String, ApiListing> apiListings = apiListingScanner.scan();
swaggerCache.addApiListings(swaggerGroup, apiListings);
} else {
log.error("ApiListingReferenceScanner not configured");
}