Function Res

  • Inject a library-agnostic responder function that can be used to construct type-checked (usually error-) responses.

    The type of the responder function should be annotated TsoaResponse<Status, Data, Headers> in order to support OpenAPI documentation.

    Returns Function

Generated using TypeDoc