mirror of https://github.com/tiangolo/fastapi.git
* Updated .py files with Optional tag (up to body_nested_models) * Update optionals * docs_src/ all updates, few I was unsure of * Updated markdown files with Optional param * es: Add Optional typing to index.md * Last of markdown files updated with Optional param * Update highlight lines * it: Add Optional typings * README.md: Update with Optional typings * Update more highlight increments * Update highlights * schema-extra-example.md: Update highlights * updating highlighting on website to reflect .py changes * Update highlighting for query-params & response-directly * Address PR comments * Get rid of unnecessary comment * ⏪ Revert Optional in Chinese docs as it probably also requires changes in text * 🎨 Apply format * ⏪ Revert modified example * ♻️ Simplify example in docs * 📝 Update OpenAPI callback example to use Optional * ✨ Add Optional types to tests * 📝 Update docs about query params, default to using Optional * 🎨 Update code examples line highlighting * 📝 Update nested models docs to use "type parameters" instead of "subtypes" * 📝 Add notes about FastAPI usage of None including: = None and = Query(None) and clarify relationship with Optional[str] * 📝 Add note about response_model_by_alias * ♻️ Simplify query param list example * 🔥 Remove test for removed example * ✅ Update test for updated example Co-authored-by: Christopher Nguyen <chrisngyn99@gmail.com> Co-authored-by: yk396 <yk396@cornell.edu> Co-authored-by: Kai Chen <kaichen120@gmail.com> |
||
|---|---|---|
| .. | ||
| additional_responses | ||
| additional_status_codes | ||
| advanced_middleware | ||
| app_testing | ||
| async_sql_databases | ||
| background_tasks | ||
| behind_a_proxy | ||
| bigger_applications | ||
| body | ||
| body_fields | ||
| body_multiple_params | ||
| body_nested_models | ||
| body_updates | ||
| conditional_openapi | ||
| cookie_params | ||
| cors | ||
| custom_request_and_route | ||
| custom_response | ||
| debugging | ||
| dependencies | ||
| dependency_testing | ||
| encoder | ||
| events | ||
| extending_openapi | ||
| extra_data_types | ||
| extra_models | ||
| first_steps | ||
| graphql | ||
| handling_errors | ||
| header_params | ||
| metadata | ||
| middleware | ||
| nosql_databases | ||
| openapi_callbacks | ||
| path_operation_advanced_configuration | ||
| path_operation_configuration | ||
| path_params | ||
| path_params_numeric_validations | ||
| python_types | ||
| query_params | ||
| query_params_str_validations | ||
| request_files | ||
| request_forms | ||
| request_forms_and_files | ||
| response_change_status_code | ||
| response_cookies | ||
| response_directly | ||
| response_headers | ||
| response_model | ||
| response_status_code | ||
| schema_extra_example | ||
| security | ||
| settings | ||
| sql_databases | ||
| sql_databases_peewee | ||
| static_files | ||
| sub_applications | ||
| templates | ||
| using_request_directly | ||
| websockets | ||
| wsgi | ||