code: public static <T> GenericResponseBuilder<T> ok(T entity, String type) {
      return ok(entity).type(type);
    }
docs: Create a new {@link GenericResponseBuilder} with an OK status and the given entity body and
  media type.
  
  @param entity the response entity
  @param type the response entity media type
  @return a new builder