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

This commit is contained in:
zhangdahai112 2022-05-12 16:53:01 +08:00 committed by zhangdahai112
parent c3ea8b3b8f
commit 55c5b29ea5
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;
}