Skip to content

Instantly share code, notes, and snippets.

@tetebueno
Created April 2, 2020 20:09
Show Gist options
  • Save tetebueno/401a927383ee53354ca79fad1e0f8773 to your computer and use it in GitHub Desktop.
Save tetebueno/401a927383ee53354ca79fad1e0f8773 to your computer and use it in GitHub Desktop.
#!/bin/bash
wget https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v2.0/yaml/petstore.yaml
sudo docker run --name swagger-demo -d -p 80:8080 -v ${PWD}:/conf -e SWAGGER_JSON=/conf/petstore.yaml swaggerapi/swagger-ui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment