From f680dfcc40ae691c508edec699e3d59e12eae869 Mon Sep 17 00:00:00 2001 From: Liu Yiding Date: Tue, 22 Jul 2025 11:12:25 +0800 Subject: swagger-ui: upgrade 5.18.2 -> 5.27.0 Changelog: ============= - feat: add support for OpenAPI 3.0.4 (#10247) - feat: apply cumulative update to address various issues (#10324) - fix(docker): fix security issues CVE-2024-56171, CVE-2025-24928 (#10351) - fix: fix definition resolving being affected by the order of schemas (#10386) - fix(json-schema-2020-12): avoid accessing properties of null schemas (#10397) - fix(json-schema-2020-12-samples): fix examples for nullable primitive types defined as list of types (#10390) - fix(utils): fix error messages for range validation of number parameters (#10344) - fix(json-schema-2020-12): use consistent comparison operators for displaying min/max constraints (#10159) - fix(json-schema-2020-12-samples): use zero as default example value for int32 and int64 (#10230) - fix(style): prevent operationId from wrapping when space is available (#10259) - fix(docker): address multiple HIGH security vulnerabilities (#10410) - fix(json-schema-2020-12): infer type string when contentEncoding or contentMediaType is present (#10411) - fix: align OpenAPI 3.x.y file uploads with specification (#10409) - feat(oas31): display file upload input when contentMediaType or contentEncoding is present (#10412) - fix: avoid accessing properties of empty Example Objects (#10453) - fix(oauth2): avoid processing authorizationUrl when it is not a string (#10452) - fix: use spec compliant JSON Pointer implementation (#10455) - fix(spec): assure operation is an immutable map in operations selectors (#10454) - fix: assure parameter is an immutable map when grouping parameters (#10457) - fix(spec): avoid accessing $ref when path item is not an object (#10456) - fix(json-schema-2020-12-samples): generate proper samples for XML atttributes (#10459) - fix(security): update Axios to non-vulnerable 1.9.0 version (#10460) - fix(docker): address CVE-2025-32414/CVE-2025-32415 (#10461) - feat(observability): allow defining custom uncaught exception handler (#10462) - feat(json-schema-5-samples): add support for time format example generation (#10420) (#10421) - refactor: introduce function for getting Schema Object type (#10330) - fix: mitigate ReDoS when generating examples from pattern (#10477) - fix(release): fix failed v5.23.0 release - fix(packagist): exclude large obsolete directories from publishing to Packagist (#10329) - ft(oas3): show the schema tab in the Try it Out mode (#10488) - fix: align expanded content inside expand collapse button (#10497) - feat: release SwaggerUI via GitHub Actions - fix(CD): provide correct npm token - fix(dist): provide correct npm token for swagger-ui-dist release - fix: fix opened model schema resolving issue on spec change (#10509) - fix(docker): bump nginx image to version 1.29.0-alpine to fix CVE-2025-48174 (#10508) - feat: release Swagger UI to Packagist (#10513) - fix(oas3): reset request body values in try it out (#9717) - fix(style): restore paragraph spacing in parameter and response descriptions (#10514) - feat(json-schema): support x-additionalPropertiesName (#10006) - fix: permissions of files to allow running as non-root (#10515) - fix: sanitization of relative OpenAPI JSON paths (#10528) Signed-off-by: Liu Yiding Signed-off-by: Khem Raj --- .../swagger-ui/swagger-ui_5.18.2.bb | 23 ---------------------- .../swagger-ui/swagger-ui_5.27.0.bb | 23 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.18.2.bb create mode 100644 meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.27.0.bb (limited to 'meta-webserver') diff --git a/meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.18.2.bb b/meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.18.2.bb deleted file mode 100644 index f0653006a3..0000000000 --- a/meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.18.2.bb +++ /dev/null @@ -1,23 +0,0 @@ -SUMMARY = "Visually render documentation for an API defined with the OpenAPI" -DESCRIPTION = "\ - Swagger UI allows anyone — be it your development team or your end consumers — to visualize and \ - interact with the API’s resources without having any of the implementation logic in place. \ - It’s automatically generated from your OpenAPI (formerly known as Swagger) Specification, \ - with the visual documentation making it easy for back end implementation and client side consumption. \ - " -HOMEPAGE = "https://github.com/swagger-api/swagger-ui" -SECTION = "net" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" - -SRC_URI = "git://github.com/swagger-api/swagger-ui;branch=master;protocol=https" - -SRCREV = "3c7e281d97fd3e70b25f7ff4a001eabd56e375d7" - -CVE_STATUS[CVE-2016-1000229] = "fixed-version: fixed since 2.2.1" - - -do_install() { - install -d ${D}${localstatedir}/www/openapi/static - cp -r ${S}/dist/* ${D}${localstatedir}/www/openapi/static -} diff --git a/meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.27.0.bb b/meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.27.0.bb new file mode 100644 index 0000000000..4dc1b86125 --- /dev/null +++ b/meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.27.0.bb @@ -0,0 +1,23 @@ +SUMMARY = "Visually render documentation for an API defined with the OpenAPI" +DESCRIPTION = "\ + Swagger UI allows anyone — be it your development team or your end consumers — to visualize and \ + interact with the API’s resources without having any of the implementation logic in place. \ + It’s automatically generated from your OpenAPI (formerly known as Swagger) Specification, \ + with the visual documentation making it easy for back end implementation and client side consumption. \ + " +HOMEPAGE = "https://github.com/swagger-api/swagger-ui" +SECTION = "net" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +SRC_URI = "git://github.com/swagger-api/swagger-ui;branch=master;protocol=https" + +SRCREV = "7b86721ad6494216d8bad0540c737efe1885688c" + +CVE_STATUS[CVE-2016-1000229] = "fixed-version: fixed since 2.2.1" + + +do_install() { + install -d ${D}${localstatedir}/www/openapi/static + cp -r ${S}/dist/* ${D}${localstatedir}/www/openapi/static +} -- cgit v1.2.3-54-g00ecf