npm swagger-ui-dist 3.22.0
Swagger UI 3.22.0 Released!

latest releases: 5.17.2, 5.17.1, 5.17.0...
5 years ago

This release introduces a new configuration option (withCredentials) which allows control of Swagger UI's underlying Fetch/XHR instance's credential inclusion mode. You may find this option helpful if your API requires an authentication/authorization scheme that Swagger UI doesn't directly support, but can be handled out-of-band by your browser.

Also notable: GitHub Flavored Markdown table syntax is now supported in our OpenAPI 3 Markdown parser, swagger-ui-react's underlying UI system object is now exposed in the onComplete prop callback, react-addons-perf is removed from our dependencies to avoid BSD+Patents licensing, and we've improved how Markdown is rendered across Swagger UI.

Changelog

  • feature: add withCredentials configuration key (via #5149)
  • improvement: expose system object in swagger-ui-react's onComplete callback (via #5221)
  • improvement: support GFM table syntax in OpenAPI 3.0 (via #5224)
  • improvement: expose docExpansion as a prop in swagger-ui-react (via #5242)
  • fix: Markdown styling nits and inconsistencies (via #5235)
  • fix: generate gzipped Docker assets at runtime (via #5219)
  • housekeeping: bump minimum Cypress version (via #5233)
  • housekeeping: remove react-addons-perf dependency (via #5229)
  • housekeeping: fix typo in README (via #5246)

Don't miss a new swagger-ui-dist release

NewReleases is sending notifications on new releases.