String servletPath = null;
if (request != null) {
servletPath = request.getServletPath();
servletPath = servletPath.replace("/resourceList", "");
}
ApiParser apiParser = new ApiParserImpl(apiInfo, authorizationTypes, getControllerPackages(), getBasePath(),
servletPath, apiVersion, ignorableAnnotations, ignoreUnusedPathVariables, filters);
resourceList = apiParser.getResourceListing(getDocs(request));
}
return resourceList;
}