yapi icon indicating copy to clipboard operation
yapi copied to clipboard

请问yapi1.3.22支持OpenAPI 3 吗?

Open Jly521 opened this issue 6 years ago • 3 comments

版本号

~1.3.22

什么问题

~ image 如何配置才能正确展示 image

如何复现此问题

~ 调用开放接口/api/open/import_data

什么浏览器

~ 谷歌

什么系统(Linux, Windows, macOS)

Windows

Jly521 avatar Feb 10 '20 08:02 Jly521

据我所知现在的版本只能支持Swagger2,不支持OpenApi3,你可以把 3 的格式转换成 2的格式后进行导入。 api-spec-converter 这个工具不错,我已经用上述方案实现了API导入了

eonie avatar Mar 07 '20 13:03 eonie

据我所知现在的版本只能支持Swagger2,不支持OpenApi3,你可以把 3 的格式转换成 2的格式后进行导入。 api-spec-converter 这个工具不错,我已经用上述方案实现了API导入了

转换了之后,response还是不对,会有很多冗余的响应

cyril-xie avatar Apr 30 '20 07:04 cyril-xie

建议支持!

GuoxinL avatar May 08 '21 08:05 GuoxinL