Closed eungkyu closed 7 months ago
Did it uncover a bug or create a bug? FWIW I think this was a bug before that is now fixed
Did it uncover a bug or create a bug? FWIW I think this was a bug before that is now fixed
type PostBody
of TestController.ts and type PostBody
of Test2Controller.ts are not the same type.
If it is not a bug, all of the non-exported internal type must have different name.
Is it right?
All the exposed interfaces must have a different name.
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
Sorting
I'm submitting a ...
I confirm that I
Expected Behavior
If I use @tsoa/cli@6.0.0-rc.3,
tsoa spec
runs without error.sample: https://codesandbox.io/p/devbox/tsoa-project-forked-y3vmtd
Current Behavior
If I use @tsoa/cli@6.0.0-rc.5,
tsoa spec
fails like followingssample: https://codesandbox.io/p/devbox/tsoa-project-84ng5t
Possible Solution
I think https://github.com/lukeautry/tsoa/pull/1498 caused the problem because
Found 2 different model definitions...
error message is added at this PR.Steps to Reproduce
in https://codesandbox.io/p/devbox/tsoa-project-84ng5t
run
npx tsoa spec
ornpx tsoa routes
Context (Environment)
Version of the library: 6.0.0-rc.5 Version of NodeJS: 18
Detailed Description
Please see codesandbox examples.
Breaking change?