fix(UI 自动化): idea 插件导入 json-schema 默认格式

This commit is contained in:
zhangdahai112 2022-05-12 16:53:01 +08:00 committed by zhangdahai112
parent 37238a4b21
commit 31b8a23f99
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ public abstract class ApiImportAbstractParser<T> implements ApiImportParser<T> {
MsHTTPSamplerProxy request = buildRequest(name, path, method);
if (StringUtils.isNotBlank(jsonSchema)) {
request.getBody().setJsonSchema(JSONObject.parseObject(jsonSchema));
request.getBody().setFormat("Raw");
request.getBody().setFormat("JSON-SCHEMA");
}
return request;
}