fastapi/docs/en/docs/advanced
Sebastián Ramírez ca437cdfab
📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908)
* 📝 Add docs recommending Union over Optional

* 📝 Update docs recommending Union over Optional

* 📝 Update source examples for docs, recommend Union over Optional

* 📝 Update highlighted lines with updated source examples

* 📝 Update highlighted lines in Markdown with recent code changes

* 📝 Update docs, use Union instead of Optional

* ♻️ Update source examples to recommend Union over Optional

* 🎨 Update highlighted code in Markdown after moving from Optional to Union
2022-05-14 06:59:59 -05:00
..
security 🔧 Add pre-commit with first config and first formatting pass (#4888) 2022-05-12 00:06:16 +00:00
additional-responses.md 🔧 Add pre-commit with first config and first formatting pass (#4888) 2022-05-12 00:06:16 +00:00
additional-status-codes.md 📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 2022-05-14 06:59:59 -05:00
advanced-dependencies.md Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
async-sql-databases.md 🎨 Simplify docs hl_lines ranges and standardize 2 spaces between each range (#1863) 2020-08-29 16:02:58 +02:00
async-tests.md Add support for Trio via AnyIO (#3372) 2021-10-06 17:32:11 +02:00
behind-a-proxy.md 🎨 Simplify docs hl_lines ranges and standardize 2 spaces between each range (#1863) 2020-08-29 16:02:58 +02:00
conditional-openapi.md Allow disabling docs UIs by disabling OpenAPI (#1421) 2020-05-16 17:45:12 +02:00
custom-request-and-route.md 🎨 Simplify docs hl_lines ranges and standardize 2 spaces between each range (#1863) 2020-08-29 16:02:58 +02:00
custom-response.md 🔧 Configure strict pytest options and update/refactor tests (#2790) 2021-07-19 21:14:58 +02:00
dataclasses.md Add support for `dataclasses` in request bodies and `response_model` (#3577) 2021-07-21 19:54:08 +02:00
events.md 📝 Mention in docs that subapps don't fire events (#1554) 2020-06-14 18:25:10 +02:00
extending-openapi.md 📝 Update docs about Swagger UI self-hosting with newer source links (#4813) 2022-05-11 18:49:16 +00:00
generate-clients.md Add support for custom `generate_unique_id_function` and docs for generating clients (#4650) 2022-03-04 23:02:18 +01:00
graphql.md 📝 Update GraphQL docs, recommend Strawberry (#3981) 2021-10-03 20:00:28 +02:00
index.md 📝 Add link to TestDriven.io course in docs (#1860) 2020-08-09 17:02:51 +02:00
middleware.md 🎨 Simplify docs hl_lines ranges and standardize 2 spaces between each range (#1863) 2020-08-29 16:02:58 +02:00
nosql-databases.md 🎨 Simplify docs hl_lines ranges and standardize 2 spaces between each range (#1863) 2020-08-29 16:02:58 +02:00
openapi-callbacks.md Add support for shared/top-level parameters (dependencies, tags, etc) (#2434) 2020-11-29 18:32:18 +01:00
path-operation-advanced-configuration.md ✏ Fix a typo in `docs/en/docs/advanced/path-operation-advanced-configuration.md` and `docs/en/docs/release-notes.md` (#3750) 2021-10-07 15:29:50 +00:00
response-change-status-code.md Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
response-cookies.md 🎨 Simplify docs hl_lines ranges and standardize 2 spaces between each range (#1863) 2020-08-29 16:02:58 +02:00
response-directly.md 🎨 Simplify docs hl_lines ranges and standardize 2 spaces between each range (#1863) 2020-08-29 16:02:58 +02:00
response-headers.md 🎨 Simplify docs hl_lines ranges and standardize 2 spaces between each range (#1863) 2020-08-29 16:02:58 +02:00
settings.md Add the `docs_src` directory to test coverage and update tests (#1904) 2021-07-29 11:26:07 +02:00
sql-databases-peewee.md 🔧 Add pre-commit with first config and first formatting pass (#4888) 2022-05-12 00:06:16 +00:00
sub-applications.md 🎨 Simplify docs hl_lines ranges and standardize 2 spaces between each range (#1863) 2020-08-29 16:02:58 +02:00
templates.md ✏ Fix typo (mistranslation) in `docs/en/docs/advanced/templates.md` (#3211) 2021-10-07 13:00:33 +00:00
testing-database.md 🎨 Simplify docs hl_lines ranges and standardize 2 spaces between each range (#1863) 2020-08-29 16:02:58 +02:00
testing-dependencies.md 📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 2022-05-14 06:59:59 -05:00
testing-events.md 🎨 Simplify docs hl_lines ranges and standardize 2 spaces between each range (#1863) 2020-08-29 16:02:58 +02:00
testing-websockets.md 🎨 Simplify docs hl_lines ranges and standardize 2 spaces between each range (#1863) 2020-08-29 16:02:58 +02:00
using-request-directly.md 🎨 Simplify docs hl_lines ranges and standardize 2 spaces between each range (#1863) 2020-08-29 16:02:58 +02:00
websockets.md 🎨 Simplify docs hl_lines ranges and standardize 2 spaces between each range (#1863) 2020-08-29 16:02:58 +02:00
wsgi.md 🎨 Simplify docs hl_lines ranges and standardize 2 spaces between each range (#1863) 2020-08-29 16:02:58 +02:00