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
The isNumeric property is false for variables of type 'integer' where format is 'int32'. It is properly set to true for unspecified format and 'int64' format (Long).
Description
The isNumeric property is false for variables of type 'integer' where format is 'int32'. It is properly set to true for unspecified format and 'int64' format (Long).
Swagger-codegen version
2.4.9, 2.4.10, 2.4.11-SNAPSHOT
Swagger declaration file content or url
Command line used for generation
java -jar ~/src/swagger-codegen/modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate -i test.yaml -l java -o /tmp/test -DdebugModels=true > log.txt
Steps to reproduce
declare a property with type: integer, format: int32. check the isNumeric property of the generated model.
Related issues/PRs
Suggest a fix/enhancement
add the missing isNumeric property for the IntegerProperty case:
log.txt
The text was updated successfully, but these errors were encountered: