You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return{%ifreturnType%}localVarReturnValue,{%endif%}nil,{{common_package_name}}.ReportError("{{ name|variable_name}} is required and must be specified")
if strlen({{ isPathParam }}r.{{ name|variable_name}}) < {{ schema.minLength }} {
271
+
if datadog.Strlen({{ isPathParam }}r.{{ name|variable_name}}) < {{ schema.minLength }} {
272
272
return {%ifreturnType%}localVarReturnValue, {%endif%}nil, {{ common_package_name }}.ReportError("{{ name|variable_name}} must have at least {{ schema.minLength }} elements")
273
273
}
274
274
{%- endif%}
275
275
{%- ifschema.maxLengthisdefined%}
276
-
if strlen({{ isPathParam }}r.{{ name|variable_name}}) > {{ schema.maxLength }} {
276
+
if datadog.Strlen({{ isPathParam }}r.{{ name|variable_name}}) > {{ schema.maxLength }} {
277
277
return {%ifreturnType%}localVarReturnValue, {%endif%}nil, {{ common_package_name }}.ReportError("{{ name|variable_name}} must have less than {{ schema.maxLength }} elements")
0 commit comments