Closed liuweiGL closed 1 year ago
SwaggerV3 规范的数据源使用了 transformSwaggerData2Standard 处理
transformSwaggerData2Standard
应该使用 transformSwaggerV3Data2Standard 去处理数据
transformSwaggerV3Data2Standard
Config.ts 处理 origin 配置错误,导致originType 被覆盖成undefined: https://github.com/alibaba/pont/blob/75adea27c44f2e15f0140ed8183f445cec8b9d3e/packages/pont-engine/src/main/Config.ts#L65-L78
Config.ts
origin
originType
undefined
What happens(发生了什么)?
SwaggerV3 规范的数据源使用了
transformSwaggerData2Standard
处理预期
应该使用
transformSwaggerV3Data2Standard
去处理数据原因
Config.ts
处理origin
配置错误,导致originType
被覆盖成undefined
: https://github.com/alibaba/pont/blob/75adea27c44f2e15f0140ed8183f445cec8b9d3e/packages/pont-engine/src/main/Config.ts#L65-L78