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
Again, unsure on whether missing values should be null or undefined in Swagger codegen JSON. The above assumes undefined, but if it's null, then the following would make sense:
Description
Cannot encode arrays in models to JSON.
Swagger-codegen version
swagger-codegen-cli-2.4.0-20180821.200234-311
Swagger declaration file content or url
Command line used for generation
java -jar swagger-codegen-cli-2.4.0-20180821.200234-311.jar generate --lang r -i swagger.yaml
Steps to reproduce
Related issues/PRs
#8610
Suggest a fix/enhancement
This generated code is clearly wrong and should be fixed:
Firstly, paste0 doesn't work on non-strings. Next, the paste with "sep" should be outside the lapply.
The text was updated successfully, but these errors were encountered: