private string FormatUserParameter(ActionParameter userParam) { string paramType = ReplaceTokens(userParam.Type); return($"{userParam.Name}{ (userParam.Optional ? "?" : "") }: {paramType}"); }