mirror of https://github.com/tiangolo/fastapi.git
* ✨ Add Default and DefaultPlaceholder data structures to handle defaults and overrides * ✨ Add utils to get values by priority handling DefaultPlaceholders * ✨ Add support for top-level parameters in FastAPI, APIRouter, include_router including: prefix, tags, dependencies, deprecated, include_in_schema, responses, default_response_class, callbacks * ♻️ Update openapi utils to handle DefaultPlaceholder for response_class * 📝 Update bigger-application example code to use top-level params and showcase them in APIRouter, FastAPI, include_router * 📝 Update docs for Bigger Applications, include diagrams, top-level params * 🔥 Simplify code and docs for callbacks as default_response_class is no longer required * 📝 Add docs for top-level dependencies, in FastAPI() * 📝 Add docs reference to top-level dependencies in docs for decorator * ✅ Update/increase tests for Bigger Applications including shared parameters * ✅ Add tests for top-level dependencies in FastAPI() * ✅ Add tests for internal DefaultPlaceholder * ✅ Update/increase tests for callbacks with top-level parameters * ✅ Add LOTS of tests covering branches and cases for shared parameters in top-level FastAPI, path operations, include_router, APIRouter, its path operations, nested include_router, nested APIRouter, and its path operations * 🎨 Format/reorder parameters for consistency in FastAPI, APIRouter, include_router |
||
|---|---|---|
| .. | ||
| test_additional_responses | ||
| test_additional_status_codes | ||
| test_advanced_middleware | ||
| test_async_sql_databases | ||
| test_async_tests | ||
| 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 | ||