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

    Function controllerProduces

    • Decorator for a controller class that sets the HTTP response Content-Type header value for all endpoints.

      Parameters

      • contentType: string

        Content-Type header value.

      Returns (classDefinition: Function) => void