code: public void register(Package... packages) {
          List<String> packageNames = Arrays.stream(packages)
              .map(Package::getName)
              .collect(Collectors.toList());
  
          register(packageNames.toArray(new String[packageNames.size()]));
      }
docs: Register all controller methods in the specified packages.
  
  @param packages