renderURI
fun renderURI(segments: List<String>, vararg parametersToValues: Pair<Parameter<*>, String?>): URI(source)
Renders a concrete URI by applying encoded values to a path template and query definitions.
Path parameter values must always be present and non-null. Query values are included when the parameter is required or when an optional parameter has a non-null encoded value.
Return
rendered URI.
Parameters
segments
path template segments.
parametersToValues
encoded parameter values paired with their definitions.
Throws
when a path parameter value is missing/null or a required query value is null.