Skip to content

Commit 9dd5fe6

Browse files
author
Your Name
committed
Update model_variables.mustache
fix LessThan & LessThanOrEqual conditions
1 parent 7b6be0e commit 9dd5fe6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/swagger-codegen/src/main/resources/php-symfony/model_variables.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@
6767
{{/minimum}}
6868
{{#maximum}}
6969
{{#exclusiveMaximum}}
70-
* @Assert\LessThan({{minimum}})
70+
* @Assert\LessThan({{maximum}})
7171
{{/exclusiveMaximum}}
7272
{{^exclusiveMaximum}}
73-
* @Assert\LessThanOrEqual({{minimum}})
73+
* @Assert\LessThanOrEqual({{maximum}})
7474
{{/exclusiveMaximum}}
7575
{{/maximum}}
7676
{{#pattern}}

0 commit comments

Comments
 (0)