class FeatureResource {

  private Feature update(@PathParam("group") String group, Feature feature) {
    return featureService.updateFeature(group, feature.getKey(), feature)
        .orElseThrow(() -> new RuntimeException(""));
  }

  @Inject public  FeatureResource(
      FeatureService featureService,
      GroupService groupService,
      IdempotencyChecker idempotencyChecker,
      AccessControlSupport accessControlSupport,
      ServerConfiguration serviceConfiguration,
      Headers headers
  );

}