code: public RestApiConfig enableGroups(RestEndpointGroup... endpointGroups) {
          if (endpointGroups != null) {
              enabledGroups.addAll(Arrays.asList(endpointGroups));
          }
          return this;
      }
docs: Enables provided REST endpoint groups. It doesn't replace already enabled groups.