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 {
/**
* 字符串类型
* 默认 application/text
*/
STRING("string"),
/**
* 整型
* 默认 application/text
*/
INTEGER("integer"),
/**
* 数值型
* 默认 application/text
*/
NUMBER("number"),
/**
* 布尔类型
*/
BOOLEAN("boolean"),
/**
* 数组
* 默认 application/text
*/
ARRAY("array");

View File

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