Sebastián Ramírez
590a5e5355
✨ Serialize JSON response with Pydantic (in Rust), when there's a Pydantic return type or response model ( #14962 )
4 months ago
Sebastián Ramírez
c9e2277d8b
📝 Update source examples and docs from Python 3.9 to 3.10 ( #14900 )
5 months ago
Motov Yurii
3063ada72f
✅ Add missing tests for code examples ( #14569 )
Co-authored-by: Sebastián Ramírez <[email protected] >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nils-Hero Lindemann <[email protected] >
6 months ago
Sebastián Ramírez
e2cd8a4201
➖ Drop support for Pydantic v1, keeping short temporary support for Pydantic v2's `pydantic.v1` ( #14575 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
6 months ago
Sebastián Ramírez
ed97d9dc0c
⚰️ Remove Python 3.8 from CI and remove Python 3.8 examples from source docs ( #14559 )
Co-authored-by: Yurii Motov <[email protected] >
Co-authored-by: Motov Yurii <[email protected] >
6 months ago
Motov Yurii
9475024640
📝 Add variants for code examples in "Advanced User Guide" ( #14413 )
7 months ago
Motov Yurii
51ad909ffe
🐛 Use `401` status code in security classes when credentials are missing ( #13786 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <[email protected] >
7 months ago
Marcelo Trylesinski
dde7bd1ceb
📝 Replace `starlette.io` by `starlette.dev` and `uvicorn.org` by `uvicorn.dev` ( #14176 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
9 months ago
Sebastián Ramírez
d34918abf0
✨ Add support for `from pydantic.v1 import BaseModel`, mixed Pydantic v1 and v2 models in the same app ( #14168 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
9 months ago
Neizvestnyj
efdafa4361
📝 Update `tutorial/security/oauth2-jwt/` to use `pwdlib` with Argon2 instead of `passlib` ( #13917 )
Co-authored-by: Motov Yurii <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
9 months ago
Nils-Hero Lindemann
7095a11056
📝 Fix and Improve English Documentation ( #14048 )
Co-authored-by: Motov Yurii <[email protected] >
9 months ago
Motov Yurii
c55f7138a1
📝 Add permalinks to headers in English docs ( #13993 )
Co-authored-by: Sebastián Ramírez <[email protected] >
10 months ago
Joakim Nordling
8fa56b46a1
⬆️ Update ReDoc to version 2.x ( #9700 )
Co-authored-by: svlandeg <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
Co-authored-by: Sofie Van Landeghem <[email protected] >
1 year ago
Kinuax
b0e70cb37e
✏️ Update Strawberry integration docs ( #13155 )
2 years ago
Sebastián Ramírez
7fb9c5922d
📝 Fix admonition double quotes with new syntax ( #12835 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2 years ago
Rabin Lama Dong
ec9976f7a6
📝 Update includes for `docs/en/docs/how-to/conditional-openapi.md` ( #12624 )
2 years ago
Rabin Lama Dong
86d8e729c8
📝 Update includes for `docs/en/docs/how-to/custom-docs-ui-assets.md` ( #12623 )
2 years ago
Philip Okiokio
95ebac1a89
📝 Update includes in `docs/en/docs/how-to/custom-docs-ui-assets.md` ( #12557 )
2 years ago
Alejandra
eea2d8e67c
🎨 Adjust spacing ( #12635 )
2 years ago
Philip Okiokio
78f295609f
📝 Update includes in `docs/en/docs/how-to/custom-request-and-route.md` ( #12560 )
2 years ago
Philip Okiokio
50c6f80117
📝 Update includes in `docs/en/docs/how-to/graphql.md` ( #12564 )
2 years ago
Philip Okiokio
092da9a8a3
📝 Update includes in `docs/en/docs/how-to/extending-openapi.md` ( #12562 )
2 years ago
Sebastián Ramírez
162a32cc2f
📝 Update includes for `docs/en/docs/how-to/configure-swagger-ui.md` ( #12556 )
2 years ago
Sebastián Ramírez
28e97b2651
📝 Update includes for `docs/en/docs/how-to/separate-openapi-schemas.md` ( #12555 )
2 years ago
Sebastián Ramírez
7daaac2bc3
✨ Add new tutorial for SQL databases with SQLModel ( #12285 )
2 years ago
Sebastián Ramírez
0f7d67e85c
🔧 Remove `base_path` for `mdx_include` Markdown extension in MkDocs ( #12391 )
2 years ago
Pavlo Pohorieltsev
3f3a3dd664
📝 Update link to Swagger UI configuration docs ( #12264 )
2 years ago
Sebastián Ramírez
0cd844d387
🔧 Update docs setup with latest configs and plugins ( #11953 )
2 years ago
DamianCzajkowski
a3a6c61164
📝 Update docs with Ariadne reference from Starlette to FastAPI ( #11797 )
2 years ago
Nir Schulman
a69f38340f
📝 Restored Swagger-UI links to use the latest version possible. ( #11459 )
2 years ago
Hasan Sezer Taşan
76d0d81e70
✏️ Fix typo: convert every 're-use' to 'reuse'. ( #11598 )
2 years ago
Nils Lindemann
ebc8ac7295
📝 Tweak docs and translations links, typos, format ( #11389 )
Co-authored-by: Sebastián Ramírez <[email protected] >
2 years ago
Sebastián Ramírez
c1796275f9
📝 Tweak docs and translations links and remove old docs translations ( #11381 )
2 years ago
Sebastián Ramírez
950d9ce74d
📝 Deprecate old tutorials: Peewee, Couchbase, encode/databases ( #10979 )
2 years ago
malicious
838e9c964e
📝 Reword in docs, from "have in mind" to "keep in mind" ( #10376 )
Co-authored-by: Alejandra <[email protected] >
3 years ago
Sebastián Ramírez
b584faffee
📝 Add notes about Pydantic v2's new `.model_dump()` ( #10929 )
3 years ago
Alejandra Klachquin
758a8f29e1
📌 Pin Swagger UI version to 5.9.0 temporarily to handle a bug crashing it in 5.9.1 ( #10529 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
3 years ago
Heinz-Alexander Fuetterer
ae84ff6e44
✏️ Fix typos in emoji docs and in some source examples ( #10438 )
3 years ago
Sebastián Ramírez
2ba7586ff3
⬆️ Drop support for Python 3.7, require Python 3.8 or above ( #10442 )
* 📝 Update docs, require Python 3.8+, drop 3.7
* 🔧 Update pyproject.toml, drop support for Python 3.7, require Python 3.8+
* 👷 Update CI GitHub Actions, drop support for Python 3.7, require 3.8+
* 📝 Update docs' references to Python 3.6 and 3.7, use Python 3.8
3 years ago
xzmeng
d8f2f39f6d
✏️ Fix typos in `docs/en/docs/how-to/separate-openapi-schemas.md` and `docs/en/docs/tutorial/schema-extra-example.md` ( #10189 )
3 years ago
Sebastián Ramírez
594b1ae0c3
📝 Add note to docs about Separate Input and Output Schemas with FastAPI version ( #10150 )
3 years ago
Sebastián Ramírez
ea43f227e5
✨ Add support for disabling the separation of input and output JSON Schemas in OpenAPI with Pydantic v2 ( #10145 )
* 📝 Add docs for Separate OpenAPI Schemas for Input and Output
* 🔧 Add new docs page to MkDocs config
* ✨ Add separate_input_output_schemas parameter to FastAPI class
* 📝 Add source examples for separating OpenAPI schemas
* ✅ Add tests for separated OpenAPI schemas
* 📝 Add source examples for Python 3.10, 3.9, and 3.7+
* 📝 Update docs for Separate OpenAPI Schemas with new multi-version examples
* ✅ Add and update tests for different Python versions
* ✅ Add tests for corner cases with separate_input_output_schemas
* 📝 Update tutorial to use Union instead of Optional
* 🐛 Fix type annotations
* 🐛 Fix correct import in test
* 💄 Add CSS to simulate browser windows for screenshots
* ➕ Add playwright as a dev dependency to automate generating screenshots
* 🔨 Add Playwright scripts to generate screenshots for new docs
* 📝 Update docs, tweak text to match screenshots
* 🍱 Add screenshots for new docs
3 years ago
Sebastián Ramírez
8cd7cfc2b6
📝 Add new docs section, How To - Recipes, move docs that don't have to be read by everyone to How To ( #10114 )
* 📝 Start How To docs section, move Peewee, remove Peewee from dependencies
* 🚚 Move em files to new locations
* 🚚 Move and re-structure advanced docs, move relevant to How To
* 🔧 Update MkDocs config, new files in How To
* 📝 Move docs for Conditional OpenAPI for Japanese to How To
* 📝 Move example source files for Extending OpenAPI into each of the new sections
* ✅ Update tests with new locations for source files
* 🔥 Remove init from Peewee examples
3 years ago