summaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-devtools/swagger-ui
diff options
context:
space:
mode:
authorJan Vermaete <jan.vermaete@gmail.com>2024-10-30 20:24:46 +0100
committerKhem Raj <raj.khem@gmail.com>2024-10-30 12:34:00 -0700
commit0f692c3ab76f6a13418f354c7c13b3cbf6130186 (patch)
tree16edb51ef6053256791e009576db443e4fdcbadf /meta-webserver/recipes-devtools/swagger-ui
parent40396e20b3b4d3c47dea5908b1d85a5c20d93a54 (diff)
downloadmeta-openembedded-0f692c3ab76f6a13418f354c7c13b3cbf6130186.tar.gz
swagger-ui: OpenAPI (aka swagger) website (v5.17.14)
New recipe with the static version of the Swagger UI. This is *not* a NPM version of the website (swagger-ui, swagger-ui-dist, swagger-ui-react). But the static release. Plain old HTML/CSS/JS (Standalone) The folder /dist includes all the HTML, CSS and JS files needed to run SwaggerUI on a static website or CMS, without requiring NPM. Download the latest release. Copy the contents of the /dist folder to your server. Open swagger-initializer.js in your text editor and replace "https://petstore.swagger.io/v2/swagger.json" with the URL for your OpenAPI 3.0 spec. -- https://github.com/swagger-api/swagger-ui/blob/HEAD/docs/usage/installation.md#plain-old-htmlcssjs-standalone Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-webserver/recipes-devtools/swagger-ui')
-rw-r--r--meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.17.14.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.17.14.bb b/meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.17.14.bb
new file mode 100644
index 0000000000..de54370274
--- /dev/null
+++ b/meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.17.14.bb
@@ -0,0 +1,22 @@
1SUMMARY = "Visually render documentation for an API defined with the OpenAPI"
2DESCRIPTION = "\
3 Swagger UI allows anyone — be it your development team or your end consumers — to visualize and \
4 interact with the API’s resources without having any of the implementation logic in place. \
5 It’s automatically generated from your OpenAPI (formerly known as Swagger) Specification, \
6 with the visual documentation making it easy for back end implementation and client side consumption. \
7 "
8HOMEPAGE = "https://github.com/swagger-api/swagger-ui"
9SECTION = "net"
10LICENSE = "Apache-2.0"
11LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
12
13SRC_URI = "git://github.com/swagger-api/swagger-ui;branch=master;protocol=https"
14
15SRCREV = "74ed0adebfc9c8dd0de2bf8e81495b022a66c083"
16
17S = "${WORKDIR}/git"
18
19do_install() {
20 install -d ${D}${localstatedir}/www/openapi/static
21 cp -r ${S}/dist/* ${D}${localstatedir}/www/openapi/static
22}