Commit Graph

2580 Commits

Author SHA1 Message Date
github-actions 098778e07f 📝 Update release notes 2023-08-25 19:11:02 +00:00
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
2023-08-25 21:10:22 +02:00
github-actions 10a127ea4a 📝 Update release notes 2023-08-19 19:54:40 +00:00
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
2023-08-19 21:54:04 +02:00
github-actions 3971c44a38 📝 Update release notes 2023-08-19 18:48:35 +00:00
github-actions b406dd9174 📝 Update release notes 2023-08-19 14:09:02 +00:00
Sebastián Ramírez 8e38261787
📝 Update Advanced docs, add links to sponsor courses (#10113) 2023-08-19 16:08:16 +02:00
github-actions 486cd139a9 📝 Update release notes 2023-08-19 13:51:12 +00:00
Sebastián Ramírez 08feaf0cc4
📝 Update docs for generating clients (#10112) 2023-08-19 15:49:54 +02:00
github-actions 0fe434ca68 📝 Update release notes 2023-08-19 13:34:10 +00:00
Sebastián Ramírez d1c0e5a89f
📝 Tweak MkDocs and add redirects (#10111) 2023-08-19 13:33:32 +00:00
github-actions e04953a9e0 📝 Update release notes 2023-08-19 13:12:09 +00:00
Sebastián Ramírez d4201a49bc
📝 Restructure docs for cloud providers, include links to sponsors (#10110) 2023-08-19 15:11:35 +02:00
github-actions a6ae5af7d6 📝 Update release notes 2023-08-17 08:52:40 +00:00
Sebastián Ramírez e93d15cf9a
🔧 Update sponsors, add Speakeasy (#10098) 2023-08-17 10:51:58 +02:00
Sebastián Ramírez 50b6ff7da6 📝 Update release notes 2023-08-14 12:02:43 +02:00
github-actions d46cd0b1f0 📝 Update release notes 2023-08-14 09:50:40 +00:00
github-actions dafaf6a34c 📝 Update release notes 2023-08-14 09:17:05 +00:00
github-actions 87cc40e483 📝 Update release notes 2023-08-14 09:15:26 +00:00
Yusuke Tamura 25059a7717
🌐 Add Japanese translation for `docs/ja/docs/deployment/concepts.md` (#10062)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-14 11:14:37 +02:00
Yusuke Tamura 2a5cc5fff3
🌐 Add Japanese translation for `docs/ja/docs/deployment/server-workers.md` (#10064)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-14 11:13:28 +02:00
github-actions 014262c203 📝 Update release notes 2023-08-14 09:13:05 +00:00
Yusuke Tamura 9d6ce823c1
🌐 Update Japanese translation for `docs/ja/docs/deployment/docker.md` (#10073)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-14 11:12:14 +02:00
github-actions 48d203a1e7 📝 Update release notes 2023-08-14 09:10:51 +00:00
Rostyslav 47166ed56c
🌐 Add Ukrainian translation for `docs/uk/docs/fastapi-people.md` (#10059) 2023-08-14 11:10:06 +02:00
github-actions 78f38c6bfd 📝 Update release notes 2023-08-10 15:59:15 +00:00
Rostyslav e6afc5911b
🌐 Add Ukrainian translation for `docs/uk/docs/tutorial/cookie-params.md` (#10032) 2023-08-10 17:58:13 +02:00
github-actions 5c2a155809 📝 Update release notes 2023-08-10 15:55:32 +00:00
Vladislav Kramorenko fe3eaf63e6
🌐 Add Russian translation for `docs/ru/docs/deployment/docker.md` (#9971)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Yois4101 <119609381+Yois4101@users.noreply.github.com>
2023-08-10 17:53:26 +02:00
github-actions 1f0d9086b3 📝 Update release notes 2023-08-10 15:53:06 +00:00
Nguyễn Khắc Thành f0ab797de4
🌐 Add Vietnamese translation for `docs/vi/docs/python-types.md` (#10047)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-10 17:52:25 +02:00
github-actions 82fafcc7ea 📝 Update release notes 2023-08-09 17:05:31 +00:00
Sebastián Ramírez 87398723f9
🔧 Add sponsor Porter (#10051) 2023-08-09 19:04:49 +02:00
github-actions 01383a57cb 📝 Update release notes 2023-08-09 13:27:14 +00:00
Sebastián Ramírez 14c96ef31b
🔧 Update sponsors, add Jina back as bronze sponsor (#10050) 2023-08-09 15:26:33 +02:00
github-actions 942ee69d85 📝 Update release notes 2023-08-05 08:46:58 +00:00
github-actions 6df10c9753 📝 Update release notes 2023-08-05 08:44:36 +00:00
github-actions 0f4a962c20 📝 Update release notes 2023-08-05 08:43:01 +00:00
Francis Bergin 69d5ebf34d
✏️ Fix typo in release notes (#9835) 2023-08-05 10:40:24 +02:00
github-actions bb7bbafb5f 📝 Update release notes 2023-08-05 08:38:32 +00:00
github-actions 87e126be2e 📝 Update release notes 2023-08-05 08:36:27 +00:00
Adejumo Ridwan Suleiman 33e77b6e25
📝 Add external article: Build an SMS Spam Classifier Serverless Database with FaunaDB and FastAPI (#9847) 2023-08-05 10:36:05 +02:00
github-actions 51f5497f3f 📝 Update release notes 2023-08-05 08:35:55 +00:00
Vicente Merino 0b496ea1f8
📝 Fix typo in `docs/en/docs/contributing.md` (#9878)
Co-authored-by: Vicente Merino <vmerino@rexmas.com>
2023-08-05 10:34:07 +02:00
Reza Rohani b76112f1a5
📝 Fix code highlighting in `docs/en/docs/tutorial/bigger-applications.md` (#9806)
Update bigger-applications.md
2023-08-05 10:33:08 +02:00
github-actions f2e80fae09 📝 Update release notes 2023-08-05 08:28:26 +00:00
github-actions d86a695db9 📝 Update release notes 2023-08-05 08:26:40 +00:00
Aleksandr Pavlov 1c919dee3c
🌐 Add Russian translation for `docs/ru/docs/tutorial/dependencies/global-dependencies.md` (#9970)
Co-authored-by: dedkot <dedkot01@gmail.com>
Co-authored-by: Vladislav Kramorenko <85196001+Xewus@users.noreply.github.com>
2023-08-05 10:26:03 +02:00
Ahsan Sheraz 5891be5ff1
🌐 Add Urdu translation for `docs/ur/docs/benchmarks.md` (#9974) 2023-08-05 10:24:21 +02:00
github-actions abfcb59fd0 📝 Update release notes 2023-08-05 08:23:39 +00:00
github-actions 0148c9508c 📝 Update release notes 2023-08-05 08:23:14 +00:00
Sebastián Ramírez 8adbafc076 🔖 Release version 0.101.0 2023-08-04 23:00:17 +02:00
Sebastián Ramírez 4b5277744a 📝 Update release notes 2023-08-04 22:59:44 +02:00
github-actions 89a7cea561 📝 Update release notes 2023-08-04 20:58:08 +00:00
Sebastián Ramírez 944c591803 📝 Update release notes 2023-08-04 22:50:34 +02:00
github-actions 1c20514738 📝 Update release notes 2023-08-04 20:47:42 +00:00
github-actions d943e02232 📝 Update release notes 2023-08-04 18:19:22 +00:00
github-actions b3a1f91004 📝 Update release notes 2023-08-04 17:48:24 +00:00
github-actions 3af7265a43 📝 Update release notes 2023-08-03 16:00:19 +00:00
github-actions 10b4c31f06 📝 Update release notes 2023-08-03 15:47:35 +00:00
github-actions 94c48cfc8c 📝 Update release notes 2023-08-03 15:25:10 +00:00
github-actions a73cdaed35 📝 Update release notes 2023-08-03 14:25:48 +00:00
Sebastián Ramírez 3fa6cfbcc5
👥 Update FastAPI People (#9999)
Co-authored-by: github-actions <github-actions@github.com>
2023-08-03 16:25:11 +02:00
github-actions ad1d7f539e 📝 Update release notes 2023-08-03 14:13:59 +00:00
github-actions 3829129245 📝 Update release notes 2023-08-02 18:58:29 +00:00
github-actions 165f29fe5e 📝 Update release notes 2023-08-02 15:57:57 +00:00
github-actions b473cdd88d 📝 Update release notes 2023-08-02 15:29:13 +00:00
github-actions 2d8a776836 📝 Update release notes 2023-08-02 15:15:10 +00:00
Nikita 88d96799b1
🌐 Add Russian translation for `docs/ru/docs/tutorial/security/index.md` (#9963)
Co-authored-by: dedkot <dedkot01@gmail.com>
Co-authored-by: Vladislav Kramorenko <85196001+Xewus@users.noreply.github.com>
2023-08-02 17:14:19 +02:00
github-actions 01f91fdb57 📝 Update release notes 2023-08-01 21:40:00 +00:00
Sebastián Ramírez c2a33f1087
🍱 Update sponsors, Fern badge (#9982) 2023-08-01 23:39:22 +02:00
github-actions 6c8c3b788b 📝 Update release notes 2023-08-01 09:20:23 +00:00
github-actions 74de15d0df 📝 Update release notes 2023-07-31 21:49:56 +00:00
Sebastián Ramírez 1da0a7afbd
🔧 Update sponsor Fern (#9979) 2023-07-31 23:49:19 +02:00
github-actions d38e86ef20 📝 Update release notes 2023-07-31 19:54:46 +00:00
github-actions cd6d75e451 📝 Update release notes 2023-07-28 12:16:16 +00:00
Sebastián Ramírez 076bdea671
🌐 Remove Vietnamese note about missing translation (#9957) 2023-07-28 14:15:29 +02:00
Sebastián Ramírez 8d27236648 🔖 Release version 0.100.1 2023-07-27 21:16:01 +02:00
Sebastián Ramírez effa578b8d 📝 Update release notes 2023-07-27 21:15:16 +02:00
github-actions bec5530ac8 📝 Update release notes 2023-07-27 19:14:48 +00:00
Orest Furda 7b3d770d65
🌐 Add Ukrainian translation for `docs/uk/docs/tutorial/body.md` (#4574)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-27 21:09:34 +02:00
github-actions 643d8e41c4 📝 Update release notes 2023-07-27 19:08:23 +00:00
github-actions c52c940066 📝 Update release notes 2023-07-27 19:04:24 +00:00
Nguyễn Khắc Thành 1d088eaf18
🌐 Add Vietnamese translation for `docs/vi/docs/features.md` and `docs/vi/docs/index.md` (#3006)
Co-authored-by: Nguyen Khac Thanh <nkthanh@Nguyens-MacBook-Pro.local>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-07-27 21:01:57 +02:00
github-actions 77cfb3c822 📝 Update release notes 2023-07-27 18:59:56 +00:00
Nina Hwang 55871036db
🌐 Add Korean translation for `docs/ko/docs/async.md` (#4179)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-27 20:59:18 +02:00
github-actions e334065d10 📝 Update release notes 2023-07-27 18:57:37 +00:00
github-actions 5d3f51c8bc 📝 Update release notes 2023-07-27 18:56:19 +00:00
吴定焕 e081145c7d
🌐 Add Chinese translation for `docs/zh/docs/tutorial/background-tasks.md` (#9812)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-27 20:55:40 +02:00
github-actions a52875c656 📝 Update release notes 2023-07-27 18:54:32 +00:00
Sebastián Ramírez 570ca011f9
🔧 Update sponsors, add Fern (#9956) 2023-07-27 20:53:51 +02:00
Sam Courtemanche 04b9a67cbb
🌐 Add French translation for `docs/fr/docs/tutorial/query-params-str-validations.md` (#4075)
Co-authored-by: Julian Maurin <julian.maurin.perso@pm.me>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-07-27 20:53:21 +02:00
github-actions 02ed00cc47 📝 Update release notes 2023-07-27 18:53:03 +00:00
github-actions 35707a1b29 📝 Update release notes 2023-07-27 18:51:59 +00:00
Julian Maurin e79dc9697c
🌐 Add French translation for `docs/fr/docs/tutorial/index.md` (#2234)
Co-authored-by: Ruidy <ruidy.nemausat@gmail.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-07-27 20:51:55 +02:00
Julian Maurin 2dcf78f295
🌐 Add French translation for `docs/fr/docs/contributing.md` (#2132)
Co-authored-by: Ruidy <ruidy.nemausat@gmail.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-07-27 20:51:07 +02:00
github-actions d7c6894b8b 📝 Update release notes 2023-07-27 18:50:16 +00:00
Clément Sauvage 3ffebbcf01
🌐 Add French translation for `docs/fr/docs/benchmarks.md` (#2155)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sam Courtemanche <smlep.pro@gmail.com>
Co-authored-by: Ruidy <ruidy.nemausat@gmail.com>
2023-07-27 20:49:56 +02:00
mahone3297 943baa387f
🌐 Update Chinese translations with new source files (#9738)
Co-authored-by: mkdir700 <mkdir700@gmail.com>
2023-07-27 20:49:03 +02:00
github-actions 6a95a3a8e7 📝 Update release notes 2023-07-27 18:48:28 +00:00