swagger-ui_5.18.2.bb 1.0 KB

123456789101112131415161718192021222324
  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. SRC_URI = "git://github.com/swagger-api/swagger-ui;branch=master;protocol=https"
  13. SRCREV = "3c7e281d97fd3e70b25f7ff4a001eabd56e375d7"
  14. CVE_STATUS[CVE-2016-1000229] = "fixed-version: fixed since 2.2.1"
  15. S = "${WORKDIR}/git"
  16. do_install() {
  17. install -d ${D}${localstatedir}/www/openapi/static
  18. cp -r ${S}/dist/* ${D}${localstatedir}/www/openapi/static
  19. }