• Endpoint enabled validator

    Parameters

    • enabled: boolean

      endpoint enabled flag

    • logger: Logger

      injected logger used to handle the logging

    • context: AdapterHandlerContext

      request context [headers, body, params, query].

    Returns Promise<number>

    200 Status OK

    Description

    This validator will check if endpoint is enabled by applying the following steps in sequence:

    1. Check if parameter enabled is true

    Throws

    404 NBError Not Found

    • feature not supported

Generated using TypeDoc