You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
used the search to make sure that a similar issue hasn't already been submit
Expected Behavior
As on #723, but enabled by default with the new major version bump.
Current Behavior
Back in #723 / #850 we added an option to make TSOA use the specified success codes by default, but left it as an option to avoid breaking anyone accidentally relying on current behaviour, despite the behaviour with the option intended likely being the expected behaviour.
Possible Solution
Remove the option entirely and have TSOA behave as if the option were enabled, in other words use the status code by default but allow overriding from the controller.
Context (Environment)
Version of the library: 3.9
Version of NodeJS: 14
Confirm you were using yarn not npm: [x]
Breaking change?
Yes
The text was updated successfully, but these errors were encountered:
Sorting
I'm submitting a ...
I confirm that I
Expected Behavior
As on #723, but enabled by default with the new major version bump.
Current Behavior
Back in #723 / #850 we added an option to make TSOA use the specified success codes by default, but left it as an option to avoid breaking anyone accidentally relying on current behaviour, despite the behaviour with the option intended likely being the expected behaviour.
Possible Solution
Remove the option entirely and have TSOA behave as if the option were enabled, in other words use the status code by default but allow overriding from the controller.
Context (Environment)
Version of the library: 3.9
Version of NodeJS: 14
Breaking change?
Yes
The text was updated successfully, but these errors were encountered: