diff options
Diffstat (limited to 'meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.32.5.bb')
| -rw-r--r-- | meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.32.5.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.32.5.bb b/meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.32.5.bb new file mode 100644 index 0000000000..d494f0ffd6 --- /dev/null +++ b/meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.32.5.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;tag=v${PV}" | ||
| 14 | |||
| 15 | SRCREV = "dcb493cdbf58fa885047513bd176a644f92c4955" | ||
| 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 | } | ||
