Is it possible to somehow return custom status codes (eg 600) with TSOA? This was possible in the past (v3.5.2), but isn't anymore with the latest versions. I imagine this is unexpected behavior, since TSOA is implementing the OpenAPI specification with the allowed status codes being these ones.
Trying different status codes with decorators like so @Response<IErrorDomain>('600', 'Custom Error')
yields following build error: Argument of type '"600"' is not assignable to parameter of type 'HttpStatusCodeLiteral | HttpStatusCodeStringLiteral | OtherValidOpenApiHttpStatusCode'
Is there any way to achieve this conveniently however with the latest versions? If not, is there any alternative to TSOA where swagger docs are generated from express endpoints but with the possibility to use custom status codes?
Thanks in advance.