category endpoints are not using dtos and creation of category was requesting for the id of the category to create which should not be manually supplied. Also the tester were finding it difficult understanding the documentation due to lack of usage of dto.
Changes made
use dto for request and response
remove the category id from being the request body when user wants to create a category
make the request body conform to the request convention we are using
Description
category endpoints are not using dtos and creation of category was requesting for the id of the category to create which should not be manually supplied. Also the tester were finding it difficult understanding the documentation due to lack of usage of dto.
Changes made