fix(接口测试): 解决接口测试swagger2导入丢失描述问题
https://www.tapd.cn/55049933/bugtrace/bugs/view?bug_id=1155049933001017552
This commit is contained in:
parent
aff77194e6
commit
6f104078e6
|
@ -146,6 +146,7 @@ public class Swagger2Parser extends SwaggerAbstractParser {
|
|||
MsHTTPSamplerProxy request = buildRequest(operation, pathName, method.name());
|
||||
request.setFollowRedirects(true);
|
||||
ApiDefinitionWithBLOBs apiDefinition = buildApiDefinition(request.getId(), operation, pathName, method.name(), importRequest);
|
||||
apiDefinition.setDescription(operation.getDescription());
|
||||
parseParameters(operation, request);
|
||||
addBodyHeader(request);
|
||||
if (StringUtils.isNotBlank(basePath)) {
|
||||
|
|
Loading…
Reference in New Issue