You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

29 lines
918 B

  1. name: swagger-ui
  2. version: master
  3. summary: The World's Most Popular API Framework
  4. description: |
  5. Swagger UI is part of the Swagger project. The Swagger project allows you to
  6. produce, visualize and consume your OWN RESTful services. No proxy or 3rd
  7. party services required. Do it your own way.
  8. Swagger UI is a dependency-free collection of HTML, Javascript, and CSS
  9. assets that dynamically generate beautiful documentation and sandbox from a
  10. Swagger-compliant API. Because Swagger UI has no dependencies, you can host
  11. it in any server environment, or on your local machine.
  12. grade: devel
  13. confinement: strict
  14. apps:
  15. swagger-ui:
  16. command: sh -c \"cd $SNAP/lib/node_modules/swagger-ui/dist && http-server -a localhost -p 8080\"
  17. daemon: simple
  18. plugs: [network, network-bind]
  19. parts:
  20. swagger-ui:
  21. source: .
  22. plugin: nodejs
  23. npm-run: [build]
  24. node-packages: [handlebars, http-server]