We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello. You have a bug in openapi-generator/modules/openapi-generator/src/main/resources/php-symfony/api_input_validation.mustache
In line 68 - 75 you have this code:
{{#maximum}} {{#exclusiveMaximum}} $asserts[] = new Assert\LessThan({{minimum}}); {{/exclusiveMaximum}} {{^exclusiveMaximum}} $asserts[] = new Assert\LessThanOrEqual({{minimum}}); {{/exclusiveMaximum}} {{/maximum}}
Variable minimum used here instead of maximum
The text was updated successfully, but these errors were encountered:
@reznikartem thanks for reporting the issue. I wonder if you can file a PR so that we can review the suggested fix more easily.
Let us know if you need help with the PR.
Sorry, something went wrong.
Made pull request #3971
Successfully merging a pull request may close this issue.
Bug Report Checklist
Hello. You have a bug in openapi-generator/modules/openapi-generator/src/main/resources/php-symfony/api_input_validation.mustache
In line 68 - 75 you have this code:
{{#maximum}} {{#exclusiveMaximum}} $asserts[] = new Assert\LessThan({{minimum}}); {{/exclusiveMaximum}} {{^exclusiveMaximum}} $asserts[] = new Assert\LessThanOrEqual({{minimum}}); {{/exclusiveMaximum}} {{/maximum}}
Variable minimum used here instead of maximum
The text was updated successfully, but these errors were encountered: