diff --git a/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/apiEditor/helper.go b/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/apiEditor/helper.go index 1712a0337f7..5786ae7ecab 100644 --- a/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/apiEditor/helper.go +++ b/modules/openapi/component-protocol/scenarios/auto-test-scenes/components/apiEditor/helper.go @@ -169,8 +169,8 @@ const props2 string = `} "msg": "参数名最大长度不能超过50" }, { - "pattern": "/^[a-zA-Z0-9_-]*$/", - "msg": "参数名为英文、数字、中划线或下划线" + "pattern": "/^[.a-zA-Z0-9_-]*$/", + "msg": "参数名为英文、数字、点、中划线或下划线" } ], "props": {