• Request Mapping Decorator Factory

    Returns a parameter decorator that maps the request body to the request.

    If no propertyName is passed, the entire body will be mapped to the request. If a propertyName is passed, the property will be mapped to the request.

    Returns

    • Parameter decorator

    Parameters

    • Optional propertyName: string

      The name of the property to map

    Returns ParameterDecorator

Generated using TypeDoc