docs: public URI expand(Object... parameters) {
  
  		if (TemplateVariables.NONE.equals(variables)) {
  			return URI.create(baseUri);
  		}
  
  		org.springframework.web.util.UriTemplate baseTemplate = new org.springframework.web.util.UriTemplate(baseUri);
  		UriComponentsBuilder builder = UriComponentsBuilder.fromUri(baseTemplate.expand(parameters));
  		Iterator<Object> iterator = Arrays.asList(parameters).iterator();
  
  		for (TemplateVariable variable : getOptionalVariables()) {
  
  			Object value = iterator.hasNext() ? iterator.next() : null;
  			appendToBuilder(builder, variable, value);
  		}
  
  		return builder.build().toUri();
  	}