@@ -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());