This commit is contained in:
2025-11-19 00:55:09 +03:30
parent bf5b50a3a2
commit f97e95bca6
3 changed files with 9 additions and 6 deletions
@@ -47,7 +47,8 @@ export class CategoryController {
@ApiOperation({ summary: 'Get category' })
@ApiOkResponse({ description: 'Category detail', type: CreateCategoryDto })
@ApiNotFoundResponse({ description: 'Category not found' })
findOne(@Param() id: string, @RestId() restId: string) {
@ApiParam({ name: 'id', required: true, type: String })
findOne(@Param('id') id: string, @RestId() restId: string) {
return this.categoryService.findOne(restId, id);
}