@beholdio/ts-lambda-api - v2.4.8
    Preparing search index...

    Function produces

    • Decorator for an endpoint method that sets the HTTP response Content-Type header value.

      Overrides the controller value set by the controllerProduces decorator, if any.

      Parameters

      • contentType: string

        Content-Type header value.

      Returns (classDefinition: Object | Function, methodName: string) => void