IlhamTahir 1 ano atrás
pai
commit
db11c729ec
1 arquivos alterados com 4 adições e 1 exclusões
  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());