Swagger UI 3.23.0 Released!
·
2742 commits
to master
since this release
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 awrapComponentin OpenAPI 3.0. Version-specific logic is now contained within one component. ParameterRownow needsoas3Actionsandoas3Selectorsas props.Responsenow needspathandmethodas props.Responses'shouldComponentUpdatecheck has been removed, it now re-renders as the Redux store changes.RequestBodyEditorhas 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 thevalueprop given to it changes.