You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
When integer range is specified as 0-4294967295, generated code uses the type "int". Instead "uint" should be used. Compilation error occurs on the line: if (this.ServiceId > (int)4294967295)
openapi-generator version
Version used is 6.2.1. Did not test against the latest commit on the master branch.
Bug Report Checklist
Description
When integer range is specified as 0-4294967295, generated code uses the type "int". Instead "uint" should be used. Compilation error occurs on the line:
if (this.ServiceId > (int)4294967295)
openapi-generator version
Version used is 6.2.1. Did not test against the latest commit on the master branch.
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
Just run the command above and compile the generated model file. We will see the error.
Related issues/PRs
None
Suggest a fix
Check range and select "uint" if minimum value is 0.
The text was updated successfully, but these errors were encountered: