]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commit
🐛 Update `ValidationError` schema to include `input` and `ctx` (#14791)
authorJonathan Fulton <jonathan.s.fulton@gmail.com>
Wed, 4 Feb 2026 14:34:02 +0000 (09:34 -0500)
committerGitHub <noreply@github.com>
Wed, 4 Feb 2026 14:34:02 +0000 (15:34 +0100)
commit75c47187f31b6f60e59dda2d6db26984043ab95c
treeece1868b30d884e08ce770c63fb161bea8fa3d7f
parent1e5e8b44cb042f774a8637f27bce93b4ceb68f7d
🐛 Update `ValidationError` schema to include `input` and `ctx` (#14791)

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
177 files changed:
fastapi/openapi/utils.py
tests/test_additional_properties.py
tests/test_additional_properties_bool.py
tests/test_additional_responses_custom_model_in_callback.py
tests/test_additional_responses_default_validationerror.py
tests/test_annotated.py
tests/test_application.py
tests/test_dependency_duplicates.py
tests/test_enforce_once_required_parameter.py
tests/test_extra_routes.py
tests/test_filter_pydantic_sub_model_pv2.py
tests/test_forms_single_param.py
tests/test_generate_unique_id_function.py
tests/test_get_model_definitions_formfeed_escape.py
tests/test_get_request_body.py
tests/test_include_router_defaults_overrides.py
tests/test_infer_param_optionality.py
tests/test_modules_same_name_body/test_main.py
tests/test_multi_body_errors.py
tests/test_multi_query_errors.py
tests/test_no_schema_split.py
tests/test_openapi_examples.py
tests/test_openapi_query_parameter_extension.py
tests/test_openapi_separate_input_output_schemas.py
tests/test_param_in_path_and_dependency.py
tests/test_param_include_in_schema.py
tests/test_put_no_body.py
tests/test_regex_deprecated_body.py
tests/test_regex_deprecated_params.py
tests/test_repeated_dependency_schema.py
tests/test_repeated_parameter_alias.py
tests/test_reponse_set_reponse_code_empty.py
tests/test_request_body_parameters_media_type.py
tests/test_schema_extra_examples.py
tests/test_security_oauth2.py
tests/test_security_oauth2_optional.py
tests/test_security_oauth2_optional_description.py
tests/test_starlette_exception.py
tests/test_sub_callbacks.py
tests/test_tuples.py
tests/test_tutorial/test_additional_responses/test_tutorial001.py
tests/test_tutorial/test_additional_responses/test_tutorial002.py
tests/test_tutorial/test_additional_responses/test_tutorial003.py
tests/test_tutorial/test_additional_responses/test_tutorial004.py
tests/test_tutorial/test_bigger_applications/test_main.py
tests/test_tutorial/test_body/test_tutorial001.py
tests/test_tutorial/test_body/test_tutorial002.py
tests/test_tutorial/test_body/test_tutorial003.py
tests/test_tutorial/test_body/test_tutorial004.py
tests/test_tutorial/test_body_fields/test_tutorial001.py
tests/test_tutorial/test_body_multiple_params/test_tutorial001.py
tests/test_tutorial/test_body_multiple_params/test_tutorial002.py
tests/test_tutorial/test_body_multiple_params/test_tutorial003.py
tests/test_tutorial/test_body_multiple_params/test_tutorial004.py
tests/test_tutorial/test_body_multiple_params/test_tutorial005.py
tests/test_tutorial/test_body_nested_models/test_tutorial001_tutorial002_tutorial003.py
tests/test_tutorial/test_body_nested_models/test_tutorial004.py
tests/test_tutorial/test_body_nested_models/test_tutorial005.py
tests/test_tutorial/test_body_nested_models/test_tutorial006.py
tests/test_tutorial/test_body_nested_models/test_tutorial007.py
tests/test_tutorial/test_body_nested_models/test_tutorial008.py
tests/test_tutorial/test_body_nested_models/test_tutorial009.py
tests/test_tutorial/test_body_updates/test_tutorial001.py
tests/test_tutorial/test_body_updates/test_tutorial002.py
tests/test_tutorial/test_cookie_param_models/test_tutorial001.py
tests/test_tutorial/test_cookie_param_models/test_tutorial002.py
tests/test_tutorial/test_cookie_params/test_tutorial001.py
tests/test_tutorial/test_dataclasses/test_tutorial001.py
tests/test_tutorial/test_dataclasses/test_tutorial003.py
tests/test_tutorial/test_dependencies/test_tutorial001_tutorial001_02.py
tests/test_tutorial/test_dependencies/test_tutorial002_tutorial003_tutorial004.py
tests/test_tutorial/test_dependencies/test_tutorial005.py
tests/test_tutorial/test_dependencies/test_tutorial006.py
tests/test_tutorial/test_dependencies/test_tutorial011.py
tests/test_tutorial/test_dependencies/test_tutorial012.py
tests/test_tutorial/test_encoder/test_tutorial001.py
tests/test_tutorial/test_events/test_tutorial001.py
tests/test_tutorial/test_events/test_tutorial003.py
tests/test_tutorial/test_extra_data_types/test_tutorial001.py
tests/test_tutorial/test_extra_models/test_tutorial001_tutorial002.py
tests/test_tutorial/test_extra_models/test_tutorial003.py
tests/test_tutorial/test_generate_clients/test_tutorial001.py
tests/test_tutorial/test_generate_clients/test_tutorial002.py
tests/test_tutorial/test_generate_clients/test_tutorial003.py
tests/test_tutorial/test_generate_clients/test_tutorial004.py
tests/test_tutorial/test_handling_errors/test_tutorial001.py
tests/test_tutorial/test_handling_errors/test_tutorial002.py
tests/test_tutorial/test_handling_errors/test_tutorial003.py
tests/test_tutorial/test_handling_errors/test_tutorial004.py
tests/test_tutorial/test_handling_errors/test_tutorial005.py
tests/test_tutorial/test_handling_errors/test_tutorial006.py
tests/test_tutorial/test_header_param_models/test_tutorial001.py
tests/test_tutorial/test_header_param_models/test_tutorial002.py
tests/test_tutorial/test_header_param_models/test_tutorial003.py
tests/test_tutorial/test_header_params/test_tutorial001.py
tests/test_tutorial/test_header_params/test_tutorial002.py
tests/test_tutorial/test_header_params/test_tutorial003.py
tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py
tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial004.py
tests/test_tutorial/test_path_operation_configurations/test_tutorial001.py
tests/test_tutorial/test_path_operation_configurations/test_tutorial002.py
tests/test_tutorial/test_path_operation_configurations/test_tutorial003_tutorial004.py
tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py
tests/test_tutorial/test_path_params/test_tutorial001.py
tests/test_tutorial/test_path_params/test_tutorial002.py
tests/test_tutorial/test_path_params/test_tutorial003.py
tests/test_tutorial/test_path_params/test_tutorial004.py
tests/test_tutorial/test_path_params/test_tutorial005.py
tests/test_tutorial/test_path_params_numeric_validations/test_tutorial001.py
tests/test_tutorial/test_path_params_numeric_validations/test_tutorial002_tutorial003.py
tests/test_tutorial/test_path_params_numeric_validations/test_tutorial004.py
tests/test_tutorial/test_path_params_numeric_validations/test_tutorial005.py
tests/test_tutorial/test_path_params_numeric_validations/test_tutorial006.py
tests/test_tutorial/test_query_param_models/test_tutorial001.py
tests/test_tutorial/test_query_param_models/test_tutorial002.py
tests/test_tutorial/test_query_params/test_tutorial001.py
tests/test_tutorial/test_query_params/test_tutorial002.py
tests/test_tutorial/test_query_params/test_tutorial003.py
tests/test_tutorial/test_query_params/test_tutorial004.py
tests/test_tutorial/test_query_params/test_tutorial005.py
tests/test_tutorial/test_query_params/test_tutorial006.py
tests/test_tutorial/test_query_params_str_validations/test_tutorial001.py
tests/test_tutorial/test_query_params_str_validations/test_tutorial002.py
tests/test_tutorial/test_query_params_str_validations/test_tutorial003.py
tests/test_tutorial/test_query_params_str_validations/test_tutorial004.py
tests/test_tutorial/test_query_params_str_validations/test_tutorial005.py
tests/test_tutorial/test_query_params_str_validations/test_tutorial006.py
tests/test_tutorial/test_query_params_str_validations/test_tutorial006c.py
tests/test_tutorial/test_query_params_str_validations/test_tutorial007.py
tests/test_tutorial/test_query_params_str_validations/test_tutorial008.py
tests/test_tutorial/test_query_params_str_validations/test_tutorial009.py
tests/test_tutorial/test_query_params_str_validations/test_tutorial010.py
tests/test_tutorial/test_query_params_str_validations/test_tutorial011.py
tests/test_tutorial/test_query_params_str_validations/test_tutorial012.py
tests/test_tutorial/test_query_params_str_validations/test_tutorial013.py
tests/test_tutorial/test_query_params_str_validations/test_tutorial014.py
tests/test_tutorial/test_query_params_str_validations/test_tutorial015.py
tests/test_tutorial/test_request_files/test_tutorial001.py
tests/test_tutorial/test_request_files/test_tutorial001_02.py
tests/test_tutorial/test_request_files/test_tutorial001_03.py
tests/test_tutorial/test_request_files/test_tutorial002.py
tests/test_tutorial/test_request_files/test_tutorial003.py
tests/test_tutorial/test_request_form_models/test_tutorial001.py
tests/test_tutorial/test_request_form_models/test_tutorial002.py
tests/test_tutorial/test_request_forms/test_tutorial001.py
tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py
tests/test_tutorial/test_response_directly/test_tutorial001.py
tests/test_tutorial/test_response_model/test_tutorial001_tutorial001_01.py
tests/test_tutorial/test_response_model/test_tutorial002.py
tests/test_tutorial/test_response_model/test_tutorial003.py
tests/test_tutorial/test_response_model/test_tutorial003_01.py
tests/test_tutorial/test_response_model/test_tutorial003_02.py
tests/test_tutorial/test_response_model/test_tutorial003_05.py
tests/test_tutorial/test_response_model/test_tutorial004.py
tests/test_tutorial/test_response_model/test_tutorial005.py
tests/test_tutorial/test_response_model/test_tutorial006.py
tests/test_tutorial/test_response_status_code/test_tutorial001_tutorial002.py
tests/test_tutorial/test_schema_extra_example/test_tutorial001.py
tests/test_tutorial/test_schema_extra_example/test_tutorial002.py
tests/test_tutorial/test_schema_extra_example/test_tutorial003.py
tests/test_tutorial/test_schema_extra_example/test_tutorial004.py
tests/test_tutorial/test_schema_extra_example/test_tutorial005.py
tests/test_tutorial/test_security/test_tutorial003.py
tests/test_tutorial/test_security/test_tutorial004.py
tests/test_tutorial/test_security/test_tutorial005.py
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001.py
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002.py
tests/test_tutorial/test_sql_databases/test_tutorial001.py
tests/test_tutorial/test_sql_databases/test_tutorial002.py
tests/test_tutorial/test_using_request_directly/test_tutorial001.py
tests/test_union_body.py
tests/test_union_body_discriminator.py
tests/test_union_body_discriminator_annotated.py
tests/test_union_forms.py
tests/test_union_inherited_body.py
tests/test_webhooks_security.py