diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/dto/request/http/KeyValueParamType.java b/backend/services/api-test/src/main/java/io/metersphere/api/dto/request/http/KeyValueParamType.java index bd4dbd3697..d5a7cd32b8 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/dto/request/http/KeyValueParamType.java +++ b/backend/services/api-test/src/main/java/io/metersphere/api/dto/request/http/KeyValueParamType.java @@ -11,22 +11,22 @@ import io.metersphere.sdk.constants.ValueEnum; public enum KeyValueParamType implements ValueEnum { /** * 字符串类型 - * 默认 application/text */ STRING("string"), /** * 整型 - * 默认 application/text */ INTEGER("integer"), /** * 数值型 - * 默认 application/text */ NUMBER("number"), + /** + * 布尔类型 + */ + BOOLEAN("boolean"), /** * 数组 - * 默认 application/text */ ARRAY("array"); diff --git a/frontend/src/enums/apiEnum.ts b/frontend/src/enums/apiEnum.ts index 6e11f33577..cf8d3ad8db 100644 --- a/frontend/src/enums/apiEnum.ts +++ b/frontend/src/enums/apiEnum.ts @@ -102,6 +102,7 @@ export enum RequestParamsType { STRING = 'string', INTEGER = 'integer', NUMBER = 'number', + BOOLEAN = 'boolean', ARRAY = 'array', JSON = 'json', FILE = 'file',