-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
Milestone
Description
Model imports don't support nested Arrays and Maps.
Description
The problem can be reproduced using Swagger property the contains a nested Arrays such as:
"values" : {
"type" : "array",
"items" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/ApiNameValue"
}
}
}In the model generated (in my case JS) don't include the object "ApiNameValue" in the imports.
Swagger-codegen version
2.1.6
Swagger declaration file content or url
https://swagger-ui-1243.appspot.com/apis/search/v1
Command line used for generation
Steps to reproduce
Related issues
Suggest a Fix
Reactions are currently unavailable