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

    Function consumes

    • Decorator for an endpoint method that details the HTTP request Content-Type header value.

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

      Parameters

      • OptionalcontentType: string

        Request content type.

      • OptionalapiBodyInfo: ApiBody

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