diff --git a/src/article/controller/carousal.controller.ts b/src/article/controller/carousal.controller.ts index 7474d24..01ad6b3 100644 --- a/src/article/controller/carousal.controller.ts +++ b/src/article/controller/carousal.controller.ts @@ -64,7 +64,10 @@ export class CarousalController { @Get('active-list') @ApiBearerAuth() @ApiOkResponse({ - type: Array, + schema: { + type: 'array', + items: { $ref: getSchemaPath(CarousalVo) }, + }, }) async activeList() { return CarousalMapper.toVos(await this.carousalService.activeList());