浏览代码

refactor: remove unused API parameters and responses from update video tags endpoint

Dave 1 月之前
父节点
当前提交
35bede04b2
共有 1 个文件被更改,包括 0 次插入16 次删除
  1. 0 16
      apps/box-mgnt-api/src/mgnt-backend/feature/video-media/video-media.controller.ts

+ 0 - 16
apps/box-mgnt-api/src/mgnt-backend/feature/video-media/video-media.controller.ts

@@ -105,26 +105,10 @@ export class VideoMediaController {
     summary: '更新视频媒体管理信息',
     description: '更新视频的标题、分类、标签、上下架状态等管理级别信息',
   })
-  @ApiParam({
-    name: 'id',
-    type: String,
-    description: '视频媒体 MongoDB ID',
-    example: '507f1f77bcf86cd799439011',
-  })
   @ApiBody({
     type: UpdateVideoMediaTagsDto,
     description: '更新的管理信息',
   })
-  @ApiOkResponse({
-    description: '更新成功',
-    type: VideoMediaDetailDto,
-  })
-  @ApiNotFoundResponse({
-    description: '视频媒体不存在',
-  })
-  @ApiBadRequestResponse({
-    description: '请求参数验证失败',
-  })
   @Post('update-video-tags')
   async updateManage(@Body() dto: UpdateVideoMediaTagsDto) {
     return this.videoMediaService.updateVideoTags(dto);