• 请不要在回答技术问题时复制粘贴 AI 生成的内容
nutting
V2EX  ›  程序员

swagger yaml 手写?

  •  
  •   nutting · Aug 5, 2022 · 1823 views
    This topic created in 1491 days ago, the information mentioned may be changed or developed.

    假如我现在老项目 http 的 json 接口,没用到 springboot 什么的,不能引入 swagger doc ?那给别的系统要提供一个接口的 swagger yaml 定义文件,必须手写吗,我就纳闷这种东西不能有个啥工具直接根据 json 例子自动生成?

    kkbblzq
        2
    kkbblzq  
       Aug 5, 2022
    比如 apifox 这种 api 工具可以导出 swagger 的。。
    dingyaguang117
        3
    dingyaguang117  
       Aug 5, 2022 via iPhone
    推荐 stoplight 客户端
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   937 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 22:33 · PVG 06:33 · LAX 15:33 · JFK 18:33
    ♥ Do have faith in what you're doing.