Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
zeke eefd173d9a Built a fresh version 13 år sedan
build Built a fresh version 13 år sedan
source Built a fresh version 13 år sedan
.gitignore Ignore sass cache 13 år sedan
README.md Gussied up the README 13 år sedan
config.rb JS dependencies are all squished into app.js; Updated all the CSS. 13 år sedan
config.ru vanilla middleman (2) template 13 år sedan

README.md

Swagger UI

Swagger UI is a dependency-free collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API. Because Swagger UI has no dependencies, you can host it in any server environment, or on your local machine.

How to Use It

wget https://github.com/downloads/wordnik/swagger-ui/swagger-ui-1.0.zip
unzip swagger-ui-1.0.zip
open swagger-ui-1.0/index.html

How to Improve It

  1. Fork!
  2. Hack.
  3. Submit a pull request.

Note: The HTML and CSS are converted from Haml and Sass, which means there are currently some development dependencies. We are looking into revamping the source files and eliminating all development dependencies by using less.js

License

Copyright 2011 Wordnik, Inc.

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.