Hi, some time back I've asked about default number types, but unfortunately the issue was closed as stale - https://github.com/lukeautry/tsoa/issues/1408. I went ahead and implemented it anyway as it is super useful for my project. I think it's quite useful, as double as the default number type isn't suitable, if the backend uses for example number ids for entities. The amount of annotation is then just too damn high.
I wasn't sure how to write proper test for this, as I could find any configuration tests.
All Submissions:
[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[ ] Have you written unit tests?
[ ] Have you written unit tests that cover the negative cases (i.e.: if bad data is submitted, does the library respond properly)?
[x] This PR is associated with an existing issue?
Closing issues
Put closes #1408
If this is a new feature submission:
[ ] Has the issue had a maintainer respond to the issue and clarify that the feature is something that aligns with the goals and philosophy of the project?
Hi, some time back I've asked about default number types, but unfortunately the issue was closed as stale - https://github.com/lukeautry/tsoa/issues/1408. I went ahead and implemented it anyway as it is super useful for my project. I think it's quite useful, as double as the default number type isn't suitable, if the backend uses for example number ids for entities. The amount of annotation is then just too damn high.
I wasn't sure how to write proper test for this, as I could find any configuration tests.
All Submissions:
Closing issues
Put
closes #1408
If this is a new feature submission:
Potential Problems With The Approach
Test plan