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.
 
 
 
 
Johannes Schickling dc1801378a Merge pull request #33 from triggity/master 8 years ago
..
Dockerfile Allow overriding of default serving port for Swagger UI 8 years ago
README.md Allow overriding of default serving port for Swagger UI 8 years ago
docker-compose.yml Added support to load local swagger.json 9 years ago
petstore-swagger.json Added support to load local swagger.json 9 years ago
run.sh Allow overriding of default serving port for Swagger UI 8 years ago

README.md

swagger-ui

Swagger UI 2.1.3 with API_URL and API_KEY injection (45 MB)

Usage

$ docker run -d -p 80:80 -e API_URL=http://localhost:4000/swagger schickling/swagger-ui

Variables

  • API_URL - Swagger endpoint for your API
  • API_KEY - Default API Key (optional)
  • PORT - Default port to run on (optional)