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')
|
@Get('active-list')
|
||||||
@ApiBearerAuth()
|
@ApiBearerAuth()
|
||||||
@ApiOkResponse({
|
@ApiOkResponse({
|
||||||
type: Array<CarousalVo>,
|
schema: {
|
||||||
|
type: 'array',
|
||||||
|
items: { $ref: getSchemaPath(CarousalVo) },
|
||||||
|
},
|
||||||
})
|
})
|
||||||
async activeList() {
|
async activeList() {
|
||||||
return CarousalMapper.toVos(await this.carousalService.activeList());
|
return CarousalMapper.toVos(await this.carousalService.activeList());
|
||||||
|
|||||||
Reference in new issue
Block a user