package
0.0.0-20240527190033-03fe1beb6235
Repository: https://github.com/eduardo681/go_routine.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
CreateCategoryHandler @BasePath /api/v1 @Summary Create category @Description Create a new Category @Tags Category @Accept json @Produce json @Param request body CreateCategoryRequest true "Request body" @Success 200 {object} ResponseCategory @Failure 400 {object} helper.ErrorResponse @Failure 500 {object} helper.ErrorResponse @Failure 401 {object} helper.ErrorResponse @Security ApiKeyAuth @Param x-access-token header string true "Access token" @Router /category [POST].
DeleteCategoryHandler @BasePath /api/v1 @Summary Delete category @Description Delete a category @Tags Category @Accept json @Produce json @Param id query uint64 true "id" @Success 200 {object} ResponseCategory @Failure 400 {object} helper.ErrorResponse @Failure 500 {object} helper.ErrorResponse @Failure 401 {object} helper.ErrorResponse @Security ApiKeyAuth @Param x-access-token header string true "Access token" @Router /category [DELETE].
GetAllCategoriesHandler @BasePath /api/v1 @Summary Get categories @Description Get all categories @Tags Category @Accept json @Produce json @Success 200 {object} ResponseCategories @Failure 400 {object} helper.ErrorResponse @Failure 401 {object} helper.ErrorResponse @Security ApiKeyAuth @Param x-access-token header string true "Access token" @Router /categories [GET].
GetCategoryHandler @BasePath /api/v1 @Summary Get category @Description Get one category @Tags Category @Accept json @Produce json @Param id query uint64 true "id" @Success 200 {object} ResponseCategory @Failure 400 {object} helper.ErrorResponse @Failure 401 {object} helper.ErrorResponse @Security ApiKeyAuth @Param x-access-token header string true "Access token" @Router /category [GET].
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author