-
-
Notifications
You must be signed in to change notification settings - Fork 576
Closed
Labels
PRs welcomePRs are welcome to solve this issue!PRs are welcome to solve this issue!bugSomething isn't workingSomething isn't working
Description
https://swagger.io/docs/specification/data-models/dictionaries/
"ItemDto": {
...
},
"CollectionDto": {
"type": "object",
"properties": {
"tables": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"$ref": "#/definitions/ItemDto"
}
}
}
},
"title": "CollectionDto"
},
This outputs an invalid type interface like this:
CollectionDto: { tables?: { [key: string]: array } };
Whereas it should be:
CollectionDto: { tables?: { [key: string]: definitions["ItemDto"][] } };
zach-waggoner, andrew-farries, santiaago, drwpow, jcf120 and 3 more
Metadata
Metadata
Assignees
Labels
PRs welcomePRs are welcome to solve this issue!PRs are welcome to solve this issue!bugSomething isn't workingSomething isn't working