fillWithArgs

inline fun fillWithArgs(methodName: String, knownArguments: Set<String>, usedOptionals: Set<String>, getValue: (String) -> String): Pair<String, Set<String>>

Substitute argument values into an endpoint template. Requires all keys in the template to be used.

Return

The filled endpoint, and the parameters used to fill it (not including the method name or prefix).

See also

Sources

Link copied to clipboard