diff options
Diffstat (limited to 'meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.18.2.bb')
-rw-r--r-- | meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.18.2.bb | 23 |
1 files changed, 23 insertions, 0 deletions
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 new file mode 100644 index 0000000000..f0653006a3 --- /dev/null +++ b/meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.18.2.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | SUMMARY = "Visually render documentation for an API defined with the OpenAPI" | ||
2 | DESCRIPTION = "\ | ||
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 | " | ||
8 | HOMEPAGE = "https://github.com/swagger-api/swagger-ui" | ||
9 | SECTION = "net" | ||
10 | LICENSE = "Apache-2.0" | ||
11 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
12 | |||
13 | SRC_URI = "git://github.com/swagger-api/swagger-ui;branch=master;protocol=https" | ||
14 | |||
15 | SRCREV = "3c7e281d97fd3e70b25f7ff4a001eabd56e375d7" | ||
16 | |||
17 | CVE_STATUS[CVE-2016-1000229] = "fixed-version: fixed since 2.2.1" | ||
18 | |||
19 | |||
20 | do_install() { | ||
21 | install -d ${D}${localstatedir}/www/openapi/static | ||
22 | cp -r ${S}/dist/* ${D}${localstatedir}/www/openapi/static | ||
23 | } | ||