feat: implement category management API with CRUD operations for categories.
This commit is contained in:
parent
1caeac6226
commit
4b335b6b49
5 changed files with 220 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import { Get, Body, Post, Route, Tags, SuccessResponse, Response, Example, Controller, Security, Request, Put } from 'tsoa';
|
||||
import { ValidationError } from '../middleware/errorHandler';
|
||||
import { UserService } from '../services/user.service';
|
||||
import {
|
||||
UserResponse,
|
||||
|
|
@ -10,7 +11,6 @@ import {
|
|||
} from '../types/user.types';
|
||||
import { ChangePassword } from '../types/auth.types';
|
||||
import { profileUpdateSchema, changePasswordSchema } from "../validators/user.validator";
|
||||
import { ValidationError } from '../middleware/errorHandler';
|
||||
|
||||
@Route('api/user')
|
||||
@Tags('User')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue