Skip to content

Instantly share code, notes, and snippets.

@muhiro12
Last active February 21, 2020 15:22
Show Gist options
  • Save muhiro12/fa9cf0b5f3b5ea5f031f9f0d40e754a5 to your computer and use it in GitHub Desktop.
Save muhiro12/fa9cf0b5f3b5ea5f031f9f0d40e754a5 to your computer and use it in GitHub Desktop.
docker-swagger-ui.sh
docker run --rm \
-p 8080:8080 \
-v ${PWD}/openapi.yaml:/usr/share/nginx/html/openapi.yaml \
-e API_URL=openapi.yaml \
swaggerapi/swagger-ui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment