which field to get the categoryId from context
category service
injected logger used to handle the logging
request context [headers, body, params, query].
200 Status Ok
This validator is used to check if the category exists by applying the following steps in sequence:
Get the categoryId from the context
Check if the categoryId is null
Check if the category is exist
400 NBError Wrong parameter
404 NBError Not found
Generated using TypeDoc
Does category exist validator