target field to get the user id
injected api use to handle the user related operations
injected logger used to handle the logging
request context [headers, body, params, query].
200 Status OK
This validator is used to check if the user is exists by applying the following steps in sequence:
Get the userId from context
Get the user by userId (userAPI.getUserById)
Return the status code
404 NBError Not Found
Generated using TypeDoc
Is user exists validator