code: public ApiListingBuilder consumes(Set<String> mediaTypes) {
      if (mediaTypes != null) {
        this.consumes = new HashSet<>(mediaTypes);
      }
      return this;
    }
docs: Replaces the existing media types with new entries that this documentation consumes
  
  @param mediaTypes - new media types
  @return this