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.
 
 
 
 
EvgenyOrekhov 3a0c3bed8d Update swagger-ui to v2.2.2 8 years ago
..
Dockerfile Update swagger-ui to v2.2.2 8 years ago
README.md Add ability to override Swagger valdiatorUrl property 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 Improved regex for inserting validatorUrl 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)
  • VALIDATOR_URL - Swagger validator (optional)