You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tsoa errors while attempting to build and generate swagger for this code.
Full Error Message (plaintext)
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 (<anonymous>)
at MethodGenerator.buildParameters (/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:96:14)
at MethodGenerator.Generate (/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:66:33)
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/controllerGenerator.js:46:41
at Array.map (<anonymous>)
at ControllerGenerator.buildMethods (/Users/alex/code/edubeyond/mono/2024-07/27-tsoa-postgres/node_modules/.pnpm/@tsoa+cli@6.4.0/node_modules/@tsoa/cli/dist/metadataGeneration/controllerGenerator.js:46:14)
at ControllerGenerator.Generate (/Users/alex/code/edubeyond/mono/2024-07/27-tsoa-postgres/node_modules/.pnpm/@tsoa+cli@6.4.0/node_modules/@tsoa/cli/dist/metadataGeneration/controllerGenerator.js:35:27)
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/metadataGenerator.js:210:41
at Array.map (<anonymous>)
error: "tsoa" exited with code 1
Failed to reload tsoa
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
Confirm you were using yarn not npm: [x]
Detailed Description
I am directly copying code from the docs, so I expect this to work properly.
Breaking change?
The text was updated successfully, but these errors were encountered:
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)
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?
The text was updated successfully, but these errors were encountered: