Merge branch 'master' into fix-oauth2-issue
# Conflicts: # dist/swagger-ui.css
This commit is contained in:
2
dist/swagger-ui.css
vendored
2
dist/swagger-ui.css
vendored
File diff suppressed because one or more lines are too long
28
snapcraft.yaml
Normal file
28
snapcraft.yaml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
name: swagger-ui
|
||||||
|
version: master
|
||||||
|
summary: The World's Most Popular API Framework
|
||||||
|
description: |
|
||||||
|
Swagger UI is part of the Swagger project. The Swagger project allows you to
|
||||||
|
produce, visualize and consume your OWN RESTful services. No proxy or 3rd
|
||||||
|
party services required. Do it your own way.
|
||||||
|
|
||||||
|
Swagger UI is a dependency-free collection of HTML, Javascript, and CSS
|
||||||
|
assets that dynamically generate beautiful documentation and sandbox from a
|
||||||
|
Swagger-compliant API. Because Swagger UI has no dependencies, you can host
|
||||||
|
it in any server environment, or on your local machine.
|
||||||
|
|
||||||
|
grade: devel
|
||||||
|
confinement: strict
|
||||||
|
|
||||||
|
apps:
|
||||||
|
swagger-ui:
|
||||||
|
command: sh -c \"cd $SNAP/lib/node_modules/swagger-ui/dist && http-server -a localhost -p 8080\"
|
||||||
|
daemon: simple
|
||||||
|
plugs: [network, network-bind]
|
||||||
|
|
||||||
|
parts:
|
||||||
|
swagger-ui:
|
||||||
|
source: .
|
||||||
|
plugin: nodejs
|
||||||
|
npm-run: [build]
|
||||||
|
node-packages: [handlebars, http-server]
|
||||||
@@ -502,6 +502,11 @@ body
|
|||||||
{
|
{
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.headerline
|
||||||
|
{
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.scheme-container
|
.scheme-container
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
This directory is used to build the `swagger-ui-dist` npm package.
|
This module, `swagger-ui-dist`, exposes Swagger-UI's entire dist folder as a dependency-free npm module.
|
||||||
|
|
||||||
For anything else, check the [Swagger-UI](https://github.com/swagger-api/swagger-ui) repository.
|
Use `swagger-ui` instead, if you'd like to have npm install dependencies for you.
|
||||||
|
|||||||
Reference in New Issue
Block a user