injected service use to handle the category related operations
injected logger used to handle the logging
request context [headers, body, params, query].
201 Status Created
This handler is used to create a category by applying the following steps in sequence:
Create the category (categoryService.createCategory)
Get the category (categoryService.getOneCategory)
Return the category (categoryService.normalizeCategoryResponse)
500 NBError Internal Server Error
Generated using TypeDoc
Create Category Handler