From bf77668d121311bd492d9c43037b7d07454efb3a Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 4 Aug 2025 16:33:39 +0800 Subject: swagger-ui: upgrade 5.27.0 -> 5.27.1 bugfix: use open-cli instead of require('open') for Node 20+ compatibility Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../swagger-ui/swagger-ui_5.27.0.bb | 23 ---------------------- .../swagger-ui/swagger-ui_5.27.1.bb | 23 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.27.0.bb create mode 100644 meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.27.1.bb 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 deleted file mode 100644 index 4dc1b86125..0000000000 --- a/meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.27.0.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 = "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 -} diff --git a/meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.27.1.bb b/meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.27.1.bb new file mode 100644 index 0000000000..f1eb6e4423 --- /dev/null +++ b/meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.27.1.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;tag=v${PV}" + +SRCREV = "43ed706e9519841e97401cfad83faca564b37eaf" + +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