fix(UI 自动化): idea 插件导入 json-schema 默认格式
This commit is contained in:
parent
37238a4b21
commit
31b8a23f99
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue