fix: type
This commit is contained in:
1 parent
efab650808
commit
db11c729ec
1 file changed
+4
-1
@@ -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());
|
||||
|
||||
Reference in new issue
Block a user