samchon / nestia

NestJS Helper Libraries + TypeScript OpenAPI generator
https://nestia.io/
MIT License
1.85k stars 95 forks source link

nestia-cli swagger generation error #304

Closed myyrakle closed 1 year ago

myyrakle commented 1 year ago

Summary

Write a short summary of the bug in here.

Code occuring the bug

npx nestia swagger "src/*.controller.ts" --out .\swagger

code here https://github.com/myyrakle/nestia_issue

samchon commented 1 year ago

Not a problem of nestia

myyrakle commented 1 year ago

This problem occurs when ts-node is less than 10 version. The readme document doesn't mention the version requirements for this, but I don't think it's an assertion that it's not a problem with nestia.

I think you need to set a version requirement and write it down in the documentation.

samchon commented 1 year ago

No plan to write documents about other library's bug.

I will just configure peerDependencies