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
If a method is using nested generics in an method argument, like List<List>, the generated Api class is missing an import for this model class. In this case 'MissingObject'.
Description
If a method is using nested generics in an method argument, like List<List>, the generated Api class is missing an import for this model class. In this case 'MissingObject'.
Swagger-codegen version
Tested with 2.2.1 and 2.2.2.
Swagger declaration file content or url
proof of concept:
https://gist.github.com/markebbers/7e9fcecdfe1b5c15604618519b5a5ecc
suspect:
Command line used for generation
Used the swagger-codegen-maven-plugin 2.2.1 and 2.2.2.
Steps to reproduce
Generate and compile the code.
Related issues
Suggest a Fix
Not yet found. But it looks likes the nested array of arrays of ObjectMissing objects is the cause of the problem.
The text was updated successfully, but these errors were encountered: