Function body

  • Decorator which injects the HTTP request body as a parameter value.

    Value passed to the method will be an object, array or primitive value if the request body is JSON, otherwise it will be a string.

    Parameters

    • classDefinition: Object | Function
    • methodName: string
    • paramIndex: number

    Returns void

Generated using TypeDoc