Skip to content

Instantly share code, notes, and snippets.

@hugoheden
Last active February 21, 2022 15:25
Show Gist options
  • Save hugoheden/bc76ae61ccf71427b81d45eac379c1c9 to your computer and use it in GitHub Desktop.
Save hugoheden/bc76ae61ccf71427b81d45eac379c1c9 to your computer and use it in GitHub Desktop.
One-off: Fire up swagger-ui (docker) and let it render my OpenAPI yaml, so that I can see it on localhost:8080
docker run --rm -it -p 8080:8080 -e SWAGGER_JSON=/foo/api.yaml -v $(pwd):/foo swaggerapi/swagger-ui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment