My swagger.json file has something like this to define an array of doubles:
"arrayOfDoubles": {
"type": "array",
"items": {
"type": "number",
"format": "double"
}
},
But swagger-codegen creates the following typealias for the array, without the type (which fails to compile):
public typealias ArrayOfDoubles = []
I'm using 2.2.3.
Updates:
- Same result with 2.3.0.
- Same result using Swift4.