diff --git a/knowledge base/swagger-ui.md b/knowledge base/swagger-ui.md new file mode 100644 index 0000000..6e8d225 --- /dev/null +++ b/knowledge base/swagger-ui.md @@ -0,0 +1,70 @@ +# Swagger UI + +> TODO + +Intro + + + +1. [TL;DR](#tldr) +1. [Further readings](#further-readings) + 1. [Sources](#sources) + +## TL;DR + +
+ Setup + +```sh +docker pull 'docker.swagger.io/swaggerapi/swagger-ui' + +docker run -p '8080:8080' 'docker.swagger.io/swaggerapi/swagger-ui' +docker run -p '8080:8080' -e 'SWAGGER_JSON_URL=https://example.org/api.json' 'docker.swagger.io/swaggerapi/swagger-ui' +``` + +
+ + + + + +## Further readings + +- [Website] +- [Codebase] + +### Sources + +- [Documentation] + + + + + + + +[codebase]: https://github.com/swagger-api/swagger-ui +[documentation]: https://swagger.io/docs/open-source-tools/swagger-ui/usage/installation/ +[website]: https://swagger.io/tools/swagger-ui/ + +