fix(接口测试): 场景步骤名称去掉必填校验

This commit is contained in:
AgAngle 2024-04-08 15:19:05 +08:00 committed by 刘瑞斌
parent 8ff41a2af2
commit 4994f78dfe
1 changed files with 1 additions and 2 deletions

View File

@ -64,8 +64,7 @@ public class ApiScenarioStepCommonDTO<T extends ApiScenarioStepCommonDTO> {
private String projectId; private String projectId;
@Schema(description = "步骤名称") @Schema(description = "步骤名称")
@NotBlank(message = "{api_scenario_step.name.not_blank}") @Size(max = 255, message = "{api_scenario_step.name.length_range}")
@Size(min = 1, max = 255, message = "{api_scenario_step.name.length_range}")
private String name; private String name;
@Schema(description = "资源编号") @Schema(description = "资源编号")