Skip to content

πŸ“ Add note to docs about Separate Input and Output Schemas with FastAPI version - #10150

Merged
tiangolo merged 1 commit into
masterfrom
note-separate-output-schemas
Aug 26, 2023
Merged

tiangolo merged 1 commit into
masterfrom
note-separate-output-schemas

Conversation

@tiangolo

Copy link
Copy Markdown
Member

πŸ“ Add note to docs about Separate Input and Output Schemas with FastAPI version

@tiangolo
tiangolo enabled auto-merge (squash) August 26, 2023 13:15
@tiangolo
tiangolo merged commit 594b1ae into master Aug 26, 2023
@tiangolo
tiangolo deleted the note-separate-output-schemas branch August 26, 2023 13:20
emirthab pushed a commit to emirthab/fastapi that referenced this pull request Sep 1, 2023
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.17 to 9.1.21.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](squidfunk/mkdocs-material@9.1.17...9.1.21)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

πŸ“ Update release notes

πŸ”– Release version 0.103.0

πŸ“ Update release notes

πŸ“ Update release notes

✨ Add support for `openapi_examples` in all FastAPI parameters (fastapi#10152)

* ♻️ Refactor model for OpenAPI Examples to use a reusable TypedDict

* ✨ Add support for openapi_examples in parameters

* πŸ“ Add new docs examples for new parameter openapi_examples

* πŸ“ Update docs for Schema Extra to include OpenAPI examples

* βœ… Add tests for new source examples, for openapi_examples

* βœ… Add tests for openapi_examples corner cases and all parameters

* πŸ’‘ Tweak and ignore type annotation checks for custom TypedDict

πŸ“ Update release notes

πŸ“ Add note to docs about Separate Input and Output Schemas with FastAPI version (fastapi#10150)

πŸ“ Update release notes

πŸ”– Release version 0.102.0

πŸ“ Update release notes

πŸ“ Update release notes

✨ Add support for disabling the separation of input and output JSON Schemas in OpenAPI with Pydantic v2 (fastapi#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

πŸ“ Update release notes

πŸ“ Add new docs section, How To - Recipes, move docs that don't have to be read by everyone to How To (fastapi#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

πŸ“ Update release notes

♻️ Refactor tests for new Pydantic 2.2.1 (fastapi#10115)

πŸ“ Update release notes

πŸ“ Update Advanced docs, add links to sponsor courses (fastapi#10113)

πŸ“ Update release notes

πŸ“ Update docs for generating clients (fastapi#10112)

πŸ“ Update release notes

πŸ“ Tweak MkDocs and add redirects (fastapi#10111)

πŸ“ Update release notes

πŸ“ Restructure docs for cloud providers, include links to sponsors (fastapi#10110)

πŸ“ Update release notes

πŸ”§ Update sponsors, add Speakeasy (fastapi#10098)

πŸ”– Release version 0.101.1

πŸ“ Update release notes

πŸ“ Update release notes

✨ Add `ResponseValidationError` printable details, to show up in server error logs (fastapi#10078)

πŸ“ Update release notes

πŸ“ Update release notes

🌐 Add Japanese translation for `docs/ja/docs/deployment/concepts.md` (fastapi#10062)

🌐 Add Japanese translation for `docs/ja/docs/deployment/server-workers.md` (fastapi#10064)

πŸ“ Update release notes

🌐 Update Japanese translation for `docs/ja/docs/deployment/docker.md` (fastapi#10073)

πŸ“ Update release notes

🌐 Add Ukrainian translation for `docs/uk/docs/fastapi-people.md` (fastapi#10059)

πŸ“ Update release notes

🌐 Add Ukrainian translation for `docs/uk/docs/tutorial/cookie-params.md` (fastapi#10032)

πŸ“ Update release notes

🌐 Add Russian translation for `docs/ru/docs/deployment/docker.md` (fastapi#9971)

πŸ“ Update release notes

🌐 Add Vietnamese translation for `docs/vi/docs/python-types.md` (fastapi#10047)

πŸ“ Update release notes

πŸ”§ Add sponsor Porter (fastapi#10051)

πŸ“ Update release notes

πŸ”§ Update sponsors, add Jina back as bronze sponsor (fastapi#10050)

πŸ“ Update release notes

πŸ“ Update release notes

πŸ“ Update release notes

✏️ Fix typo in deprecation warnings in `fastapi/params.py` (fastapi#9854)

fix typo for deprecation warnings depreacated -> deprecated

✏️ Fix typo in release notes (fastapi#9835)

✏️ Fix typos in comments on internal code in `fastapi/concurrency.py` and `fastapi/routing.py` (fastapi#9590)

πŸ“ Update release notes

πŸ“ Update release notes

πŸ“ Add external article: Build an SMS Spam Classifier Serverless Database with FaunaDB and FastAPI (fastapi#9847)

πŸ“ Update release notes

πŸ“ Fix typo in `docs/en/docs/contributing.md` (fastapi#9878)

πŸ“ Fix code highlighting in `docs/en/docs/tutorial/bigger-applications.md` (fastapi#9806)

Update bigger-applications.md

πŸ“ Update release notes

πŸ“ Update release notes

🌐 Add Russian translation for `docs/ru/docs/tutorial/dependencies/global-dependencies.md` (fastapi#9970)

🌐 Add Urdu translation for `docs/ur/docs/benchmarks.md` (fastapi#9974)

πŸ“ Update release notes

πŸ“ Update release notes

⬆ Bump mypy from 1.4.0 to 1.4.1 (fastapi#9756)

Bumps [mypy](https://github.com/python/mypy) from 1.4.0 to 1.4.1.
- [Commits](python/mypy@v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
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>
Co-Authored-By: Marcelo Trylesinski <marcelotryle@gmail.com>
Co-Authored-By: Vicente Merino <vmerino@rexmas.com>
Co-Authored-By: dedkot <dedkot01@gmail.com>
Co-Authored-By: Vladislav Kramorenko <85196001+Xewus@users.noreply.github.com>
Co-Authored-By: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
emirthab pushed a commit to emirthab/fastapi that referenced this pull request Sep 1, 2023
Revert "Add Json Support To Params"

This reverts commit 0ed16c0.

Add Json Support To Params

Add Json Support To Params

πŸ“ Update release notes

πŸ”– Release version 0.103.0

πŸ“ Update release notes

πŸ“ Update release notes

✨ Add support for `openapi_examples` in all FastAPI parameters (fastapi#10152)

* ♻️ Refactor model for OpenAPI Examples to use a reusable TypedDict

* ✨ Add support for openapi_examples in parameters

* πŸ“ Add new docs examples for new parameter openapi_examples

* πŸ“ Update docs for Schema Extra to include OpenAPI examples

* βœ… Add tests for new source examples, for openapi_examples

* βœ… Add tests for openapi_examples corner cases and all parameters

* πŸ’‘ Tweak and ignore type annotation checks for custom TypedDict

πŸ“ Update release notes

πŸ“ Add note to docs about Separate Input and Output Schemas with FastAPI version (fastapi#10150)

πŸ“ Update release notes

πŸ”– Release version 0.102.0

πŸ“ Update release notes

πŸ“ Update release notes

✨ Add support for disabling the separation of input and output JSON Schemas in OpenAPI with Pydantic v2 (fastapi#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

πŸ“ Update release notes

πŸ“ Add new docs section, How To - Recipes, move docs that don't have to be read by everyone to How To (fastapi#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

πŸ“ Update release notes

♻️ Refactor tests for new Pydantic 2.2.1 (fastapi#10115)

πŸ“ Update release notes

πŸ“ Update Advanced docs, add links to sponsor courses (fastapi#10113)

πŸ“ Update release notes

πŸ“ Update docs for generating clients (fastapi#10112)

πŸ“ Update release notes

πŸ“ Tweak MkDocs and add redirects (fastapi#10111)

πŸ“ Update release notes

πŸ“ Restructure docs for cloud providers, include links to sponsors (fastapi#10110)

πŸ“ Update release notes

πŸ”§ Update sponsors, add Speakeasy (fastapi#10098)

πŸ”– Release version 0.101.1

πŸ“ Update release notes

πŸ“ Update release notes

✨ Add `ResponseValidationError` printable details, to show up in server error logs (fastapi#10078)

πŸ“ Update release notes

πŸ“ Update release notes

🌐 Add Japanese translation for `docs/ja/docs/deployment/concepts.md` (fastapi#10062)

🌐 Add Japanese translation for `docs/ja/docs/deployment/server-workers.md` (fastapi#10064)

πŸ“ Update release notes

🌐 Update Japanese translation for `docs/ja/docs/deployment/docker.md` (fastapi#10073)

πŸ“ Update release notes

🌐 Add Ukrainian translation for `docs/uk/docs/fastapi-people.md` (fastapi#10059)

πŸ“ Update release notes

🌐 Add Ukrainian translation for `docs/uk/docs/tutorial/cookie-params.md` (fastapi#10032)

πŸ“ Update release notes

🌐 Add Russian translation for `docs/ru/docs/deployment/docker.md` (fastapi#9971)

πŸ“ Update release notes

🌐 Add Vietnamese translation for `docs/vi/docs/python-types.md` (fastapi#10047)

πŸ“ Update release notes

πŸ”§ Add sponsor Porter (fastapi#10051)

πŸ“ Update release notes

πŸ”§ Update sponsors, add Jina back as bronze sponsor (fastapi#10050)

πŸ“ Update release notes

πŸ“ Update release notes

πŸ“ Update release notes

✏️ Fix typo in deprecation warnings in `fastapi/params.py` (fastapi#9854)

fix typo for deprecation warnings depreacated -> deprecated

✏️ Fix typo in release notes (fastapi#9835)

✏️ Fix typos in comments on internal code in `fastapi/concurrency.py` and `fastapi/routing.py` (fastapi#9590)

πŸ“ Update release notes

πŸ“ Update release notes

πŸ“ Add external article: Build an SMS Spam Classifier Serverless Database with FaunaDB and FastAPI (fastapi#9847)

πŸ“ Update release notes

πŸ“ Fix typo in `docs/en/docs/contributing.md` (fastapi#9878)

πŸ“ Fix code highlighting in `docs/en/docs/tutorial/bigger-applications.md` (fastapi#9806)

Update bigger-applications.md

πŸ“ Update release notes

πŸ“ Update release notes

🌐 Add Russian translation for `docs/ru/docs/tutorial/dependencies/global-dependencies.md` (fastapi#9970)

🌐 Add Urdu translation for `docs/ur/docs/benchmarks.md` (fastapi#9974)

πŸ“ Update release notes

πŸ“ Update release notes

⬆ Bump mypy from 1.4.0 to 1.4.1 (fastapi#9756)

Bumps [mypy](https://github.com/python/mypy) from 1.4.0 to 1.4.1.
- [Commits](python/mypy@v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

⬆ Bump mkdocs-material from 9.1.17 to 9.1.21 (fastapi#9960)

Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.17 to 9.1.21.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](squidfunk/mkdocs-material@9.1.17...9.1.21)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

πŸ”– Release version 0.101.0

πŸ“ Update release notes

πŸ“ Update release notes

πŸ“Œ Do not allow Pydantic 2.1.0 that breaks (require 2.1.1) (fastapi#10012)

πŸ“ Update release notes

πŸ“ Update release notes

✨ Enable Pydantic's serialization mode for responses, add support for Pydantic's `computed_field`, better OpenAPI for response models, proper required attributes, better generated clients (fastapi#10011)

* ✨ Enable Pydantic's serialization mode for responses

* βœ… Update tests with new Pydantic v2 serialization mode

* βœ… Add a test for Pydantic v2's computed_field

πŸ“ Update release notes

πŸ‘· Add GitHub Actions step dump context to debug external failures (fastapi#10008)

πŸ“ Update release notes

πŸ”§ Restore MkDocs Material pin after the fix (fastapi#10001)

πŸ“ Update release notes

πŸ”§ Update the Question template to ask for the Pydantic version (fastapi#10000)

πŸ“ Update release notes

βœ… Fix tests for compatibility with pydantic 2.1.1 (fastapi#9943)

πŸ“ Update release notes

βž– Remove direct dependency on MkDocs, Material for MkDocs defines its own dependency (fastapi#9986)

πŸ“ Update release notes

πŸ‘₯ Update FastAPI People (fastapi#9999)

πŸ“ Update release notes

🐳 Update Dockerfile with compatibility versions, to upgrade later (fastapi#9998)

πŸ“ Update release notes

βž• Add pydantic-settings to FastAPI People dependencies (fastapi#9988)

πŸ“ Update release notes

♻️ Update FastAPI People logic with new Pydantic (fastapi#9985)

πŸ“ Update release notes

βœ… Fix test error in Windows for `jsonable_encoder` (fastapi#9840)

πŸ“ Update release notes

🌐 Add Russian translation for `docs/ru/docs/tutorial/security/index.md` (fastapi#9963)

πŸ“ Update release notes

🍱 Update sponsors, Fern badge (fastapi#9982)

πŸ“ Update release notes

πŸ‘· Deploy docs to Cloudflare Pages (fastapi#9978)

πŸ“ Update release notes

πŸ”§ Update sponsor Fern (fastapi#9979)

πŸ“ Update release notes

πŸ‘· Update CI debug mode with Tmate (fastapi#9977)

πŸ“ Update release notes

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>
Co-Authored-By: Marcelo Trylesinski <marcelotryle@gmail.com>
Co-Authored-By: Vicente Merino <vmerino@rexmas.com>
Co-Authored-By: dedkot <dedkot01@gmail.com>
Co-Authored-By: Vladislav Kramorenko <85196001+Xewus@users.noreply.github.com>
Co-Authored-By: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-Authored-By: SebastiΓ‘n RamΓ­rez <tiangolo@gmail.com>
Co-Authored-By: github-actions <github-actions@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant