fix(UI 自动化): idea 插件导入 json-schema 默认格式
This commit is contained in:
parent
c3ea8b3b8f
commit
55c5b29ea5
|
@ -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