From 9dd5fe6be1bbbeeafe234227e7f40eddaa2f1060 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 21 Sep 2018 02:02:12 +0300 Subject: [PATCH] Update model_variables.mustache fix LessThan & LessThanOrEqual conditions --- .../src/main/resources/php-symfony/model_variables.mustache | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/swagger-codegen/src/main/resources/php-symfony/model_variables.mustache b/modules/swagger-codegen/src/main/resources/php-symfony/model_variables.mustache index d05831defa3..0645dd2d8fb 100644 --- a/modules/swagger-codegen/src/main/resources/php-symfony/model_variables.mustache +++ b/modules/swagger-codegen/src/main/resources/php-symfony/model_variables.mustache @@ -67,10 +67,10 @@ {{/minimum}} {{#maximum}} {{#exclusiveMaximum}} - * @Assert\LessThan({{minimum}}) + * @Assert\LessThan({{maximum}}) {{/exclusiveMaximum}} {{^exclusiveMaximum}} - * @Assert\LessThanOrEqual({{minimum}}) + * @Assert\LessThanOrEqual({{maximum}}) {{/exclusiveMaximum}} {{/maximum}} {{#pattern}}