code: void addRestResourceClasses(Set<Class<?>> resources) {
  		logger.info("Register ocelot resources...");
  		for (Object restEndpoint : restEndpoints) {
  			Class cls = unProxyClassServices.getRealClass(restEndpoint.getClass());
  			logger.info("Register ocelot resource {}", cls.getName());
  			resources.add(cls);
  		}
  	}
docs: Do not modify addRestResourceClasses() method. It is automatically populated with all resources defined in the project. If required, comment out calling
  this method in getClasses().