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> |
||
|---|---|---|
| .. | ||
| test_additional_responses | ||
| test_additional_status_codes | ||
| test_advanced_middleware | ||
| test_async_sql_databases | ||
| test_background_tasks | ||
| test_behind_a_proxy | ||
| test_bigger_applications | ||
| test_body | ||
| test_body_fields | ||
| test_body_multiple_params | ||
| test_body_nested_models | ||
| test_body_updates | ||
| test_conditional_openapi | ||
| test_cookie_params | ||
| test_cors | ||
| test_custom_request_and_route | ||
| test_custom_response | ||
| test_dependencies | ||
| test_events | ||
| test_extending_openapi | ||
| test_extra_data_types | ||
| test_extra_models | ||
| test_first_steps | ||
| test_handling_errors | ||
| test_header_params | ||
| test_metadata | ||
| test_openapi_callbacks | ||
| test_path_operation_advanced_configurations | ||
| test_path_operation_configurations | ||
| test_path_params | ||
| test_query_params | ||
| test_query_params_str_validations | ||
| test_request_files | ||
| test_request_forms | ||
| test_request_forms_and_files | ||
| test_response_change_status_code | ||
| test_response_cookies | ||
| test_response_headers | ||
| test_response_model | ||
| test_security | ||
| test_settings | ||
| test_sql_databases | ||
| test_sql_databases_peewee | ||
| test_sub_applications | ||
| test_templates | ||
| test_testing | ||
| test_testing_dependencies | ||
| test_websockets | ||
| test_wsgi | ||
| __init__.py | ||