Skip to content

Commit 1ef7a56

Browse files
committed
Removed validation of maximum, minimum, maxItems, minItems
1 parent 485e357 commit 1ef7a56

File tree

1 file changed

+1
-1
lines changed
  • cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/generator/cybersource-csharp-template

1 file changed

+1
-1
lines changed

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/generator/cybersource-csharp-template/modelGeneric.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ this.{{name}} = {{name}};
209209
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
210210
{
211211
{{#vars}}
212-
{{#hasValidation}}
212+
{{#hasValidation}}
213213
{{#maximum}}
214214
// {{{name}}} ({{{datatype}}}) maximum
215215
if(this.{{{name}}} >= ({{{datatype}}}){{maximum}})

0 commit comments

Comments
 (0)