I'm submitting a ...
I confirm that I
No error.
HACK:
TAGS: string[],
Generate swagger error.
Error: Unknown type: TupleType
At: company.model.ts:27:27.
This was caused by 'TAGS: [string];'
TAGS: [string],
Create an interface with:
TAGS: [string],
As a response object.
Version of the library: 3.0.8
Version of NodeJS: 10
This interface is not detected correctly.
Error: Unknown type: TupleType is also triggered by
categories: [
{
catName: string;
}
];
We can't type tuples in OpenAPI yet, so this is intended.
See https://github.com/lukeautry/tsoa/issues/242
Could a link be added to the error so users know it is not an error but a missing feature ?
Sure, feel free to submit a PR!
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
Most helpful comment
We can't type tuples in OpenAPI yet, so this is intended.
See https://github.com/lukeautry/tsoa/issues/242