ソースを参照

fix(menu): update parentId example to a string format

Dave 1 ヶ月 前
コミット
26f3d99367
1 ファイル変更1 行追加1 行削除
  1. 1 1
      apps/box-mgnt-api/src/mgnt-backend/core/menu/menu.dto.ts

+ 1 - 1
apps/box-mgnt-api/src/mgnt-backend/core/menu/menu.dto.ts

@@ -17,7 +17,7 @@ import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
 export class MenuDto {
   @ApiPropertyOptional({
     description: '父菜单 ID,若为顶级菜单则为空',
-    example: 0,
+    example: 'xxxxx',
   })
   @IsString()
   @IsOptional()