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
Just generate. See result contains "enum" : [ null, null ] for "integerEnum" and does not contain "enum" for "integerArrayEnum", while string parameter has proper output
Description
Proper descriptions for integer enum parameters are not present with neither
-l swagger
nor-DdebugOperations
.Swagger-codegen version
2.2.1 and current master
Swagger declaration file content or url
Source JSON: https://gist.github.com/checat/1d9b014e39e9767cf30ba401d2cf18c4#file-source-json
Result JSON: https://gist.github.com/checat/1d9b014e39e9767cf30ba401d2cf18c4#file-swagger-json
Command line used for generation
java -DdebugOperations -jar swagger-codegen-cli-2.2.1.jar generate -i source.json -l swagger -o out-swagger
Steps to reproduce
Just generate. See result contains
"enum" : [ null, null ]
for "integerEnum" and does not contain "enum" for "integerArrayEnum", while string parameter has proper outputRelated issues
#2508
The text was updated successfully, but these errors were encountered: