Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

snapcraft.yaml 918 B

7 anos atrás
7 anos atrás
12345678910111213141516171819202122232425262728
  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]