IlhamTahir пре 1 година
родитељ
комит
db11c729ec
1 измењених фајлова са 4 додато и 1 уклоњено
  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());