fastapi/docs_src/behind_a_proxy
Rupsi Kaushik 70a51b3aff
Auto-generate OpenAPI servers from root_path (#1596)
* root_path included in servers object instead of path prefix

* ♻️ Refactor implementation of auto-including root_path in OpenAPI servers

* 📝 Update docs and examples for Behind a Proxy, including servers

* 📝 Update Extending OpenAPI as openapi_prefix is no longer needed

*  Add extra tests for root_path in servers and root_path_in_servers=False

* 🍱 Update security docs images with relative token URL

* 📝 Update security docs with relative token URL

* 📝 Update example sources with relative token URLs

*  Update tests with relative tokens

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2020-07-10 19:28:18 +02:00
..
tutorial001.py Add support for ASGI root_path for openapi docs (#1199) 2020-06-11 23:53:19 +02:00
tutorial002.py Add support for ASGI root_path for openapi docs (#1199) 2020-06-11 23:53:19 +02:00
tutorial003.py Auto-generate OpenAPI servers from root_path (#1596) 2020-07-10 19:28:18 +02:00
tutorial004.py Auto-generate OpenAPI servers from root_path (#1596) 2020-07-10 19:28:18 +02:00