yarn swagger-ui-react 3.23.0
Swagger UI 3.23.0 Released!

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

This release includes support for OpenAPI 3.0's Examples Object within Parameter, Request Body, and Response Objects.

Changelog

  • feature: Multiple Examples for OpenAPI 3 Parameters, Request Bodies, and Responses (via #5427)

Internal API notes

Several things have moved around internally.

If you make heavy use of the Plugin API, this may be of concern to you:

  • the Parameterscomponent no longer has a wrapComponent in OpenAPI 3.0. Version-specific logic is now contained within one component.
  • ParameterRow now needs oas3Actions and oas3Selectors as props.
  • Response now needs path and method as props.
  • Responses' shouldComponentUpdate check has been removed, it now re-renders as the Redux store changes.
  • RequestBodyEditor has been heavily modified. It is no longer aware of the underlying request body or schema, and only concerns itself with the string value being edited. It will now also update its own internal state if the value prop given to it changes.

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

NewReleases is sending notifications on new releases.