IlhamTahir 1 yıl önce
ebeveyn
işleme
db11c729ec
1 değiştirilmiş dosya ile 4 ekleme ve 1 silme
  1. 4 1
      src/article/controller/carousal.controller.ts

+ 4 - 1
src/article/controller/carousal.controller.ts

@@ -64,7 +64,10 @@ export class CarousalController {
   @Get('active-list')
   @ApiBearerAuth()
   @ApiOkResponse({
-    type: Array<CarousalVo>,
+    schema: {
+      type: 'array',
+      items: { $ref: getSchemaPath(CarousalVo) },
+    },
   })
   async activeList() {
     return CarousalMapper.toVos(await this.carousalService.activeList());