Skip to content

Releases: swagger-api/swagger-ui

Swagger UI v5.20.6 Released!

04 Apr 19:32
Compare
Choose a tag to compare

5.20.6 (2025-04-04)

Bug Fixes

  • json-schema-2020-12-samples: use zero as default example value for int32 and int64 (#10230) (7c346e7)
  • json-schema-2020-12: use consistent comparison operators for displaying min/max constraints (#10159) (d9c778e)

Swagger UI v5.20.5 Released!

03 Apr 11:01
Compare
Choose a tag to compare

5.20.5 (2025-04-03)

Bug Fixes

  • utils: fix error messages for range validation of number parameters (#10344) (a78278e)

Swagger UI v5.20.4 Released!

03 Apr 09:16
Compare
Choose a tag to compare

5.20.4 (2025-04-03)

Bug Fixes

  • json-schema-2020-12-samples: fix examples for nullable primitive types defined as list of types (#10390) (d375f50)

Swagger UI v5.20.3 Released!

02 Apr 11:22
Compare
Choose a tag to compare

5.20.3 (2025-04-02)

Bug Fixes

  • json-schema-2020-12: avoid accessing properties of null schemas (#10397) (d2fff7c)

Swagger UI v5.20.2 Released!

28 Mar 08:44
Compare
Choose a tag to compare

5.20.2 (2025-03-27)

Bug Fixes

  • fix definition resolving being affected by the order of schemas (#10386) (28f77cb), closes #10096

Swagger UI v5.20.1 Released!

10 Mar 11:26
Compare
Choose a tag to compare

5.20.1 (2025-03-10)

Bug Fixes

Swagger UI v5.20.0 Released!

27 Feb 10:42
Compare
Choose a tag to compare

5.20.0 (2025-02-27)

Bug Fixes

  • docker: add OpenContainer labels
  • json-schema-5: fix JumpToPath feature for schemas, closes swagger-api/swagger-editor#4035
  • fix JumpToPath feature for auth methods
  • display the correct name of security methods
  • fix console errors appearing when security scheme is not defined
  • components: render examples only when their shape is correct
  • swagger-client: allow resolving URLs without extensions, closes swagger-api/apidom#4298
  • css: fix css sourcemaps
  • security: update axios to address CVE-2024-39338
  • swagger-client: do not encode server variables, closes swagger-api/swagger-js#3656
  • security: fix unsafe cookie serialization, addresses CVE-2024-47764, GHSA-pxg6-pf52-xh8x
  • spec: compensate if OpenAPI.paths field is defined as unexpected structure
  • json-schema-2020-12: check for schema type before extracting extension keywords, closes swagger-ui/issues#9376
  • json-schema-2020-12: fix rendering of uniqueItems keyword
  • json-schema-2020-12: fix overrides of JSON Schema extension keywords
  • spec: clear JSON state when loading a new definition
  • oas31: fix caching of JSON Schema 2020-12 context
  • json-schema-2020-12: fix default expansion being applied to components after initial render
  • json-schema-2020-12: fix complex schemas expanding beyond the default expansion depth
  • json-schema-2020-12: fix deep expansion not expanding some of the keywords
  • oas31: fix expansion of Schema Object fixed fields

Features

  • swagger-ui-react: add support for initialState prop
  • add horizontal scrollbar for schemas, refs swagger-api/swagger-ui#8940
  • display schema of complex parameters
  • display schema of complex request body properties
  • json-schema-2020-12: allow to use fn outside of React context
  • oas31: display schema of complex parameters with union type
  • oas31: display schema of complex request body properties with union type
  • oas31: display textarea for parameters with complex union type
  • json-schema-2020-12: allow to use getTitle outside of JSON Schema 2020-12 context
  • json-schema-2020-12: introduce system bound HOC
  • json-schema-2020-12: add support for rendering extension keywords, closes swagger-ui/issues#9376
  • json-schema-2020-12: add support for rendering examples keyword
  • json-schema-2020-12: use JSON Viewer to display keywords with complex values
  • json-schema-2020-12: handle empty objects and arrays in JSONViewer
  • oas3: more support for OpenAPI 3.0.4
  • introduce custom URL sanitization mechanism
  • apply additional fixes for custom URL sanitization mechanism
  • oas31: add support for OpenAPI extensions
  • json-schema-2020-12: respect showExtensions config option

Attributions (alphabetical order)

@char0n
@glowcloud
@robert-hebel-sb

Swagger UI v5.19.0 Released!

17 Feb 16:43
Compare
Choose a tag to compare

5.19.0 (2025-02-17)

Features

Swagger UI v5.18.3 Released!

29 Jan 07:55
Compare
Choose a tag to compare

5.18.3 (2025-01-28)

Enhancements

  • docker: document new SwaggerUI docker registry usage (#10260) (9d6fdb2)

SwaggerUI Docker image is now served under the new authoritative registry URL:

Before:

$ docker pull swaggerapi/swagger-ui

Now:

$ docker pull docker.swagger.io/swaggerapi/swagger-ui

Swagger UI v5.18.2 Released!

07 Nov 14:52
Compare
Choose a tag to compare

5.18.2 (2024-11-07)

Bug Fixes