github swagger-api/swagger-ui v5.0.0-alpha.11
Swagger UI v5.0.0-alpha.11 Released!

latest releases: v5.18.1, v5.18.0, v5.17.14...
pre-release18 months ago

5.0.0-alpha.11 (2023-05-11)

Release summary

This release brings support (still partial) for rendering JSON Schema 2020-12, that comes as a default JSON Schema dialect for OpenAPI 3.1.0 specification. This new JSON Schema 2020-12 renderer is currently utilized only in bottom section of SwaggerUI which renders OpenAPI 3.1.0 components.schemas field. Below is a preview of how the rendered JSON Schema 2020-12 looks like.

Supported vocabularies in new JSON Schema 2020-12 renderer:

image

Features

  • json-schema-2020-12: add support for contentEncoding keyword (#8644) (9208818), closes #8513
  • json-schema-2020-12: add support for contentMediaType keyword (#8640) (c15e69e), closes #8513
  • json-schema-2020-12: add support for contentSchema keyword (#8645) (f549a1d), closes #8513
  • json-schema-2020-12: add support for default keyword (#8647) (e6d5099), closes #8513
  • json-schema-2020-12: add support for deprecated keyword (#8648) (aed6bb3), closes #8513
  • json-schema-2020-12: add support for readOnly keyword (#8649) (964a11a), closes #8513
  • json-schema-2020-12: add support for writeOnly keyword (#8650) (d7b489c), closes #8513

Don't miss a new swagger-ui release

NewReleases is sending notifications on new releases.