Swagger UI 3.9.0 发布,API 在线文档生成利器

栏目: 软件资讯 · 发布时间: 8年前

内容简介:Swagger UI 3.9.0 已发布,这是一款 API 在线文档生成和调试工具。 该版本包含核心插件 API 更改,以及一些突破性变化,包括: Introduced a breaking function signature change to errActions.newThrownErr a...

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)

下载地址:


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

互联网创业核心技术:构建可伸缩的web应用

互联网创业核心技术:构建可伸缩的web应用

【美】Artur Ejsmont / 李智慧、何坤 / 电子工业出版社 / 2016-12 / 89

可伸缩架构技术是所有互联网技术中最重要,也是最引人入胜的技术。《互联网创业核心技术:构建可伸缩的web应用》针对互联网创业需求快速迭代,业务快速发展,短时间内用户、数据、访问量激增的特点,提纲挈领地描述了伸缩性架构的基本原理与设计原则,详细阐述了Web应用前端层、服务层、数据层的可伸缩架构,并花大量篇幅讲述了缓存技术和异步处理技术的可伸缩设计及其在Web系统中的具体应用。 《互联网创业核心技......一起来看看 《互联网创业核心技术:构建可伸缩的web应用》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具