Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@Inject not working in tsoa swagger generator #66

Closed
jasiek-net opened this issue Feb 28, 2017 · 2 comments
Closed

@Inject not working in tsoa swagger generator #66

jasiek-net opened this issue Feb 28, 2017 · 2 comments

Comments

@jasiek-net
Copy link

jasiek-net commented Feb 28, 2017

I installed tsoa about 4 days ago and I created some routes with injected parameters, but when I cloned my project today and run swagger there was an error Error: Error generate parameter method: me argument: req Error: Parameter [object Object] doesn't have a valid type assigned., it's seems that there were some breaking changes in the last few days, but version number stayed the same.

@lukeautry
Copy link
Owner

@jonzee There were definitely some breaking changes. Do you have the version specified with a ^? It could be you got upgraded to 1.1. Maybe check node_modules/tsoa/package.json and report back the version number there.

@lukeautry
Copy link
Owner

Closing pending reply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants