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

Generate routes: Error: Unknown type: AnyKeyword. #114

Closed
kingjerod opened this issue Jun 24, 2017 · 2 comments
Closed

Generate routes: Error: Unknown type: AnyKeyword. #114

kingjerod opened this issue Jun 24, 2017 · 2 comments

Comments

@kingjerod
Copy link
Contributor

If I have a controller method return Promise<any> the route generation (and swagger) throws this error. Seems like any is not supported?

@connected-jlovelock
Copy link
Contributor

Also having this issue.

isman-usoh added a commit to isman-usoh/tsoa that referenced this issue Jul 25, 2017
isman-usoh added a commit to isman-usoh/tsoa that referenced this issue Jul 26, 2017
isman-usoh added a commit that referenced this issue Jul 27, 2017
- Support Query array type 
- Support custom response header (#89)
- Support tsoa config yaml format (#133)
- Support generate swagger yaml format
- Support string, number and boolan UnionType (#5)
- Support AnyKeyword (#114)
- update route schema and update type
- Change swagger enum inline type to enum definitions
- Add new rule for tslint
- Fix set status not work #94
- Fix validate 
- Set query array collectionFormat, default to multi
- Create file for Circle CI
isman-usoh added a commit that referenced this issue Jul 27, 2017
- Support Query array type
- Support custom response header (#89)
- Support tsoa config yaml format (#133)
- Support generate swagger yaml format
- Support string, number and boolan UnionType (#5)
- Support AnyKeyword (#114)
- update route schema and update type
- Change swagger enum inline type to enum definitions
- Add new rule for tslint
- Fix set status not work #94
- Fix validate
- Set query array collectionFormat, default to multi
- Create file for Circle CI
@isman-usoh
Copy link
Collaborator

Fix: 0534cbd

Example

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

No branches or pull requests

3 participants