180 Commits (48f88edf0dc5ffa22829966e0640a57cd192aac2)

Author SHA1 Message Date
Sebastián Ramírez 2e14c69c31
👷 Adopt Ruff format (#10517) 2 years ago
worldworm 9b3e166b43
✏️ Fix link to SPDX license identifier in `docs/en/docs/tutorial/metadata.md` (#10433) 2 years ago
Giulio Davide Carparelli 89e03bad16
📝 Update example validation error from Pydantic v1 to match Pydantic v2 in `docs/en/docs/tutorial/path-params.md` (#10043) 2 years ago
yogabonito 4bd1430677
✏️ Fix typos and rewordings in `docs/en/docs/tutorial/body-nested-models.md` (#10468) 2 years ago
yogabonito 57a030175e
📝 Update docs, remove references to removed `pydantic.Required` in `docs/en/docs/tutorial/query-params-str-validations.md` (#10469) 2 years ago
Sebastián Ramírez 2ba7586ff3
⬆️ Drop support for Python 3.7, require Python 3.8 or above (#10442) 2 years ago
Pablo Dorrío Vázquez c502197d7c
✏️ Fix validation parameter name in docs, from `regex` to `pattern` (#10085) 2 years ago
Hasnat Sajid 0ea23e2a8d
✏️ Fix link to Pydantic docs in `docs/en/docs/tutorial/extra-data-types.md` (#10155) 2 years ago
Poupapaa 2e32957198
✏️ Fix typo in `docs/en/docs/tutorial/handling-errors.md` (#10170) 2 years ago
Ragul K 4e93f8e0bc
✏️ Fix typo in `docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md` (#10172) 2 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) 2 years ago
Sebastián Ramírez 1b714b3177
Add support for `openapi_examples` in all FastAPI parameters (#10152) 2 years ago
Reza Rohani b76112f1a5
📝 Fix code highlighting in `docs/en/docs/tutorial/bigger-applications.md` (#9806) 2 years ago
Sebastián Ramírez 0976185af9
Add support for Pydantic v2 (#9816) 2 years ago
Sebastián Ramírez 4d83f984cc
📝 Update source examples to use new JSON Schema examples field (#9776) 2 years ago
Sebastián Ramírez 7dad5a820b
Add support for OpenAPI 3.1.0 (#9770) 2 years ago
Sebastián Ramírez 51d3a8ff12
🔨 Add MkDocs hook that renames sections based on the first index file (#9737) 2 years ago
ivan-abc 68ce5b37dc
✏ Rewording in `docs/en/docs/tutorial/debugging.md` (#9581) 2 years ago
jyothish-mohan a3b1478221
✏️ Tweak wording in `docs/en/docs/tutorial/security/index.md` (#9561) 2 years ago
Alexandr 0ef164e1ee
📝 Update `Annotated` notes in `docs/en/docs/tutorial/schema-extra-example.md` (#9620) 2 years ago
Ricardo Castro 7c66ec8a8b
✏️ Fix typo `Annotation` -> `Annotated` in `docs/en/docs/tutorial/query-params-str-validations.md` (#9625) 2 years ago
Geoff Dworkin 8df86309c8
📝 Add notification message warning about old versions of FastAPI not supporting `Annotated` (#9298) 2 years ago
tim-habitat 08ba3a98a3
✏ Fix typo/bug in inline code example in `docs/en/docs/tutorial/query-params-str-validations.md` (#9273) 2 years ago
Aadarsha Shrestha 8ca7c5c29d
✏ Fix typo in `docs/en/docs/tutorial/path-params-numeric-validations.md` (#9282) 2 years ago
dasstyxx 571b5c6f0c
✏ Fix typo: 'wll' to 'will' in `docs/en/docs/tutorial/query-params-str-validations.md` (#9380) 2 years ago
Sebastián Ramírez 0bc87ec77c
📝 Tweak tip recommending `Annotated` in docs (#9270) 2 years ago
Sebastián Ramírez 69673548bc
📝 Update order of examples, latest Python version first, and simplify version tab names (#9269) 2 years ago
Sebastián Ramírez 9eaed2eb37
📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268) 2 years ago
eykamp e570371003
✏ Fix formatting in `docs/en/docs/tutorial/metadata.md` for `ReDoc` (#6005) 2 years ago
Aayush Chhabra 4d099250f6
✏ Fix typo in `docs/en/docs/tutorial/bigger-applications.md`, "codes" to "code" (#5990) 2 years ago
Sebastián Ramírez fb8e9083f4
📝 Update docs and examples for Response Model with Return Type Annotations, and update runtime error (#5873) 2 years ago
Yurii Karabas d0573f5713
Add support for function return type annotations to declare the `response_model` (#1436) 2 years ago
Pax fc717f84ff
✏️ Clarify docs on CORS (#5627) 3 years ago
Sebastián Ramírez f92f87d379
📝 Update references to Requests for tests to HTTPX, and add HTTPX to extras (#5628) 3 years ago
Vivek Ashokkumar d4e2bdb33a
✏ Fix typo in `docs/en/docs/tutorial/security/oauth2-jwt.md` (#5584) 3 years ago
feliciss 4a1c69e6c2
📝 Fix typo in docs with examples for Python 3.10 instead of 3.9 (#5545) 3 years ago
MendyLanda ae369d879a
📝 Add note about Python 3.10 `X | Y` operator in explanation about Response Models (#5307) 3 years ago
非法操作 d3ff7c620a
✏ Fix a small code highlight line error (#5256) 3 years ago
Sebastián Ramírez adf4e77dd6
📝 Add tip about using alias for form data fields (#5329) 3 years ago
Roy Hyunjin Han 8a72d363c8
✏ Fix typos in `docs/en/docs/tutorial/path-params-numeric-validations.md` (#5142) 3 years ago
Pedro Augusto de Paula Barbosa 70213467a6
✏ Reword and clarify text in tutorial `docs/en/docs/tutorial/body-nested-models.md` (#5169) 3 years ago
Caleb Renfroe 438656395a
✏ Reword confusing sentence in docs file `typo-fix-path-params-numeric-validations.md` (#3219) 3 years ago
Sebastián Ramírez 1835b3f76d
📝 Update docs for testing, fix examples with relative imports (#5302) 3 years ago
Teofilo Zosa ea017c9919
📝 Add misc dependency installs to tutorial docs (#2126) 3 years ago
Sebastián Ramírez ca437cdfab
📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 3 years ago
Sebastián Ramírez 9262fa8362
Add support for not needing `...` as default value in required Query(), Path(), Header(), etc. (#4906) 3 years ago
Michael Adkins 199916ac8c
📝 Add documentation for redefined path operations (#4864) 3 years ago
Sebastián Ramírez 3d0f130ff3
🔧 Add pre-commit with first config and first formatting pass (#4888) 3 years ago
Matthew Evans 4fcdb31947
📝 Add OpenAPI warning to "Body - Fields" docs with extra schema extensions (#4846) 3 years ago
Samuel Borges 441f75a06c
📝 Updates links for Celery documentation (#4736) 3 years ago