refactor(接口测试): 接口参数类型添加布尔类型

This commit is contained in:
AgAngle 2024-04-23 17:41:39 +08:00 committed by 刘瑞斌
parent 449d7610d1
commit e8295cd86b
2 changed files with 5 additions and 4 deletions

View File

@ -11,22 +11,22 @@ import io.metersphere.sdk.constants.ValueEnum;
public enum KeyValueParamType implements ValueEnum { public enum KeyValueParamType implements ValueEnum {
/** /**
* 字符串类型 * 字符串类型
* 默认 application/text
*/ */
STRING("string"), STRING("string"),
/** /**
* 整型 * 整型
* 默认 application/text
*/ */
INTEGER("integer"), INTEGER("integer"),
/** /**
* 数值型 * 数值型
* 默认 application/text
*/ */
NUMBER("number"), NUMBER("number"),
/**
* 布尔类型
*/
BOOLEAN("boolean"),
/** /**
* 数组 * 数组
* 默认 application/text
*/ */
ARRAY("array"); ARRAY("array");

View File

@ -102,6 +102,7 @@ export enum RequestParamsType {
STRING = 'string', STRING = 'string',
INTEGER = 'integer', INTEGER = 'integer',
NUMBER = 'number', NUMBER = 'number',
BOOLEAN = 'boolean',
ARRAY = 'array', ARRAY = 'array',
JSON = 'json', JSON = 'json',
FILE = 'file', FILE = 'file',