Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@
{{#vars}}
{{#hasValidation}}
{{^isEnum}}
{{^isDateTime}}
{{^isDate}}
{{^isTime}}
{{#maxLength}}
// {{{name}}} ({{{dataType}}}) maxLength
if (this.{{{name}}} != null && this.{{{name}}}.Length > {{maxLength}})
Expand All @@ -76,6 +79,9 @@
}

{{/minLength}}
{{/isTime}}
{{/isDate}}
{{/isDateTime}}
{{#maximum}}
// {{{name}}} ({{{dataType}}}) maximum
if ({{#useGenericHost}}{{^required}}this.{{{name}}}Option.IsSet && {{/required}}{{/useGenericHost}}this.{{{name}}}{{#useGenericHost}}{{^required}}Option.Value{{/required}}{{/useGenericHost}} {{#exclusiveMaximum}}<={{/exclusiveMaximum}}{{^exclusiveMaximum}}>{{/exclusiveMaximum}} ({{{dataType}}}){{maximum}})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1747,6 +1747,8 @@ components:
type: string
format: date
example: '2020-02-02'
minLength: 1
maxLength: 1
dateTime:
type: string
format: date-time
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1637,6 +1637,8 @@ components:
date:
example: 2020-02-02
format: date
maxLength: 1
minLength: 1
type: string
dateTime:
example: 2007-12-03T10:15:30+01:00
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1678,6 +1678,8 @@ components:
date:
example: 2020-02-02
format: date
maxLength: 1
minLength: 1
type: string
dateTime:
example: 2007-12-03T10:15:30+01:00
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1637,6 +1637,8 @@ components:
date:
example: 2020-02-02
format: date
maxLength: 1
minLength: 1
type: string
dateTime:
example: 2007-12-03T10:15:30+01:00
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1678,6 +1678,8 @@ components:
date:
example: 2020-02-02
format: date
maxLength: 1
minLength: 1
type: string
dateTime:
example: 2007-12-03T10:15:30+01:00
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1637,6 +1637,8 @@ components:
date:
example: 2020-02-02
format: date
maxLength: 1
minLength: 1
type: string
dateTime:
example: 2007-12-03T10:15:30+01:00
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1678,6 +1678,8 @@ components:
date:
example: 2020-02-02
format: date
maxLength: 1
minLength: 1
type: string
dateTime:
example: 2007-12-03T10:15:30+01:00
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1678,6 +1678,8 @@ components:
date:
example: 2020-02-02
format: date
maxLength: 1
minLength: 1
type: string
dateTime:
example: 2007-12-03T10:15:30+01:00
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1678,6 +1678,8 @@ components:
date:
example: 2020-02-02
format: date
maxLength: 1
minLength: 1
type: string
dateTime:
example: 2007-12-03T10:15:30+01:00
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1637,6 +1637,8 @@ components:
date:
example: 2020-02-02
format: date
maxLength: 1
minLength: 1
type: string
dateTime:
example: 2007-12-03T10:15:30+01:00
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1678,6 +1678,8 @@ components:
date:
example: 2020-02-02
format: date
maxLength: 1
minLength: 1
type: string
dateTime:
example: 2007-12-03T10:15:30+01:00
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1678,6 +1678,8 @@ components:
date:
example: 2020-02-02
format: date
maxLength: 1
minLength: 1
type: string
dateTime:
example: 2007-12-03T10:15:30+01:00
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1678,6 +1678,8 @@ components:
date:
example: 2020-02-02
format: date
maxLength: 1
minLength: 1
type: string
dateTime:
example: 2007-12-03T10:15:30+01:00
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1678,6 +1678,8 @@ components:
date:
example: 2020-02-02
format: date
maxLength: 1
minLength: 1
type: string
dateTime:
example: 2007-12-03T10:15:30+01:00
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1678,6 +1678,8 @@ components:
date:
example: 2020-02-02
format: date
maxLength: 1
minLength: 1
type: string
dateTime:
example: 2007-12-03T10:15:30+01:00
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1678,6 +1678,8 @@ components:
date:
example: 2020-02-02
format: date
maxLength: 1
minLength: 1
type: string
dateTime:
example: 2007-12-03T10:15:30+01:00
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1678,6 +1678,8 @@ components:
date:
example: 2020-02-02
format: date
maxLength: 1
minLength: 1
type: string
dateTime:
example: 2007-12-03T10:15:30+01:00
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1678,6 +1678,8 @@ components:
date:
example: 2020-02-02
format: date
maxLength: 1
minLength: 1
type: string
dateTime:
example: 2007-12-03T10:15:30+01:00
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1678,6 +1678,8 @@ components:
date:
example: 2020-02-02
format: date
maxLength: 1
minLength: 1
type: string
dateTime:
example: 2007-12-03T10:15:30+01:00
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1678,6 +1678,8 @@ components:
date:
example: 2020-02-02
format: date
maxLength: 1
minLength: 1
type: string
dateTime:
example: 2007-12-03T10:15:30+01:00
Expand Down
Loading