thx / rap2-delos

阿里妈妈前端团队出品的开源接口管理工具RAP第二代
http://rap2.taobao.org
MIT License
7.64k stars 1.35k forks source link

导入swagger json报错,格式错误 #831

Open arashiquan33 opened 3 years ago

arashiquan33 commented 3 years ago

BUG描述

1.使用在线的RAP2,导入swagger json 报错

复现步骤 1.json内容如下:

{"openapi":"3.0.0","paths":{"/aggregation/solutions/{id}":{"delete":{"operationId":"SolutionController_deleteOne","parameters":[{"name":"id","required":true,"in":"path","schema":{}}],"responses":{"204":{"description":""}}}}},"info":{"title":"api doc","description":"IDE API接口文档","version":"1.0","contact":{}},"tags":[],"servers":[],"components":{"schemas":{}}}

期望结果

导入成功

实际结果

导入失败,格式错误

截图

环境

附加信息