code: protected static List<EndpointHelpDto> describeEndpoints(List<Class<? extends AbstractResource>> resourceClasses) {
          List<EndpointHelpDto> result = new LinkedList<>();
  
          if (resourceClasses != null && !resourceClasses.isEmpty()) {
              for (Class<? extends AbstractResource> resourceClass : resourceClasses) {
                  EndpointHelpDto dto = EndpointHelpDto.fromResourceClass(resourceClass);
  
                  if (dto != null) {
                      result.add(dto);
                  }
              }
          }
          return result;
      }
docs: Generates a list of endpoint help DTOs used to describe the major service endpoints.
  
  @param   resourceClasses  The resource classes to describe.
  
  @return  The list of endpoint help DTOs.