Closed alexng353 closed 1 month ago
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
I'm facing the same issue with an interface defined in a different file and used as the response.
Sorting
I'm submitting a ...
I confirm that I
Expected Behavior
I expect that in the following code snippets, tsoa will properly resolve the imports & types, generating the correct openapi schema on output.
Current Behavior
Tsoa errors while attempting to build and generate swagger for this code.
Full Error Message (plaintext)
```bash killing previous process Generate routes error. GenerateMetadataError: No declarations found for referenced type UUID. in 'UserController.getUsers' at /Users/alex/code/edubeyond/mono/2024-07/27-tsoa-postgres/node_modules/.pnpm/@tsoa+cli@6.4.0/node_modules/@tsoa/cli/dist/metadataGeneration/methodGenerator.js:104:23 at Array.map (
Possible Solution
Steps to Reproduce
You can see this error by copying the provided code blocks.
Context (Environment)
Version of the library:
^6.4.0
Version of NodeJS:v20.15.0
Detailed Description
I am directly copying code from the docs, so I expect this to work properly.
Breaking change?