1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Swagger UI 3.9.0 发布,API 在线文档生成利器 下载

本帖由 漂亮的石头2018-01-07 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    488,109
    赞:
    47
    Swagger UI 3.9.0 已发布,这是一款 API 在线文档生成和调试工具。

    该版本包含核心插件 API 更改,以及一些突破性变化,包括:


    • Introduced a breaking function signature change to errActions.newThrownErr action creator (from (err, action) to (err)) and err_new_thrown_err action payload (stopped nesting error content under error key in payload, now the error is the payload).


    • 特性:added error catcher for statePlugin interfaces; prevents errors in plugin code from crashing entire application instance (via #4067)


      • The only downside to this is that some errors are now a bit harder to trace! Set a breakpoint at console.error and walk down the stack to see what's going wrong.

    • 特性:display error content when definition/config load fails (via #4069)


    • 特性:display parameter enums, defaults, and examples when not in Try-It-Out mode (via #3977)


    • 改进:added hasOwnProperty checks to a handful of for...in loops (via #4043)


    • 改进:now using nginx location to set Docker base url instead of moving things around the filesystem (via #4073)


    • 改进:brought parameter model property description styling in line with styling for.... everything else (via #4075)


    • 修复:check for Promise on global/window object, which makes IE11 a very happy browser (via #4077)


    • Housekeeping: used zopflipng to compress PNG assets in repo (via #4037)


    • Housekeeping: added maintainer documentation for PR merging workflow (via #4076)

    下载地址:

    Swagger UI 3.9.0 发布,API 在线文档生成利器下载地址
     
正在加载...