]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
🐛 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)
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

index d56027b50015ddf45a81896497489173883df93e..5736af3b78921b53e6e65ba1fd20237b03b1bdd9 100644 (file)
@@ -50,6 +50,8 @@ validation_error_definition = {
         },
         "msg": {"title": "Message", "type": "string"},
         "type": {"title": "Error Type", "type": "string"},
+        "input": {"title": "Input"},
+        "ctx": {"title": "Context", "type": "object"},
     },
     "required": ["loc", "msg", "type"],
 }
index 2622366400243028c9386d804eea8fac345e5d66..935acca42eb6dab89c4517d9725c3dbe4268843a 100644 (file)
@@ -89,6 +89,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 063297a3f29db4e2aba3ec96f335c3c753e50823..3b323ad46353df1112d63e275f042ac8d91b79f5 100644 (file)
@@ -101,6 +101,8 @@ def test_openapi_schema():
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [{"type": "string"}, {"type": "integer"}]
index 376d7714edfdd857728134b17c3ac19c4f4a60f0..3a37c924d21ef85ea6063c5ebdf8a2f2b58a0188 100644 (file)
@@ -128,6 +128,8 @@ def test_openapi_schema():
                         "required": ["loc", "msg", "type"],
                         "type": "object",
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "title": "Location",
                                 "type": "array",
index 153f04f579880b50a4cf46ffc59c574c875aa4fe..acc081fb16e434598e3400e0b5af93c07168de16 100644 (file)
@@ -66,6 +66,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 39f6f83b298486eb6c19e10fd9fc2c74d3f4b323..99bd03ae6ffad56436ba05f7eadbdf800b27e060 100644 (file)
@@ -284,6 +284,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index 001586ff7898df543634a150a60d20a70f847ecd..fe97e674c0606653174821913a59a6f8a5ac9220 100644 (file)
@@ -1260,6 +1260,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index a8658e03bb34237623a8cea5c20664c1effc0852..3ca6a3e891606bdbca08108728c7750eb4e581af 100644 (file)
@@ -223,6 +223,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index 2e5ac6c0628b13d1c4b2f316623f5d631723f383..c46a543576b284004ab27f8b6924e61215485c1e 100644 (file)
@@ -42,6 +42,8 @@ expected_schema = {
             },
             "ValidationError": {
                 "properties": {
+                    "ctx": {"title": "Context", "type": "object"},
+                    "input": {"title": "Input"},
                     "loc": {
                         "items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
                         "title": "Location",
index 45734ec28a3a92e4706f85dbc5f8536eb72703a4..251af4a59e6630aabd46b676cd398e7316f02a89 100644 (file)
@@ -347,6 +347,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index fc5876410daded02b682af63505b83309635eca9..1de2b50f7f4a42e0368c710936439d0d4f6b9354 100644 (file)
@@ -165,6 +165,8 @@ def test_openapi_schema(client: TestClient):
                         "required": ["loc", "msg", "type"],
                         "type": "object",
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "title": "Location",
                                 "type": "array",
index 67f054b34eb657e8750e9aa163301b7d43562828..fc163cb1efec7d1eb4772d81f193a2c1318194ab 100644 (file)
@@ -81,6 +81,8 @@ def test_openapi_schema():
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [{"type": "string"}, {"type": "integer"}]
index 62ebfbc964efc5db59c61604bd2db58505862ba6..49510d08a956096f36a076056252008ca02c6d2d 100644 (file)
@@ -213,6 +213,8 @@ def test_top_level_generate_unique_id():
                     "required": ["loc", "msg", "type"],
                     "type": "object",
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "title": "Location",
                             "type": "array",
@@ -414,6 +416,8 @@ def test_router_overrides_generate_unique_id():
                     "required": ["loc", "msg", "type"],
                     "type": "object",
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "title": "Location",
                             "type": "array",
@@ -615,6 +619,8 @@ def test_router_include_overrides_generate_unique_id():
                     "required": ["loc", "msg", "type"],
                     "type": "object",
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "title": "Location",
                             "type": "array",
@@ -889,6 +895,8 @@ def test_subrouter_top_level_include_overrides_generate_unique_id():
                     "required": ["loc", "msg", "type"],
                     "type": "object",
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "title": "Location",
                             "type": "array",
@@ -1093,6 +1101,8 @@ def test_router_path_operation_overrides_generate_unique_id():
                     "required": ["loc", "msg", "type"],
                     "type": "object",
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "title": "Location",
                             "type": "array",
@@ -1301,6 +1311,8 @@ def test_app_path_operation_overrides_generate_unique_id():
                     "required": ["loc", "msg", "type"],
                     "type": "object",
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "title": "Location",
                             "type": "array",
@@ -1587,6 +1599,8 @@ def test_callback_override_generate_unique_id():
                     "required": ["loc", "msg", "type"],
                     "type": "object",
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "title": "Location",
                             "type": "array",
index eb7939b69a922fb9241d2476e187d6db46555c90..46f8aa5959471f280c8d285eeea09310f78078cb 100644 (file)
@@ -98,6 +98,8 @@ def test_openapi_schema(client: TestClient):
                     },
                     "ValidationError": {
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "items": {
                                     "anyOf": [{"type": "string"}, {"type": "integer"}]
index cc567b88f6f68af88bcb3c69ca62db3c4b3b70f9..b21889e30f2ad52e4f28ab4fe2681226a4c8f66d 100644 (file)
@@ -100,6 +100,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index 33baa25e6a7980130d24ff583610c7cdf49d34a0..6d2ffc44a539ff78e9368775420586e772822518 100644 (file)
@@ -7290,6 +7290,8 @@ def test_openapi():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index 147018996e9dd322772dbe4a94d6044af6af41dc..b11a1ca4332df8623b539c8815b0dc1f00c0cd5a 100644 (file)
@@ -325,6 +325,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index 263d87df263229b59b0348bb76b1b78c633977e3..276de539db4f14abdf980610c266cd55efe17a62 100644 (file)
@@ -131,6 +131,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 4418c77cb0f8ce72c4ab3e963f687fd69911e9a6..fa3e0c635902013eb403b16d1968b11385709f70 100644 (file)
@@ -167,6 +167,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 5df51ba185165074f311b4f0f4a158ed1f8bc9c3..7540367a6f8ea6985f32d45af0db59391ebdcd75 100644 (file)
@@ -97,6 +97,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 131a3755e74e75603662c6e5a2fd64c0cd35cf97..66bb89902a7070d9525b0983652d6f28fe9c3a69 100644 (file)
@@ -154,6 +154,8 @@ def test_openapi_schema():
                     },
                     "ValidationError": {
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "items": {
                                     "anyOf": [{"type": "string"}, {"type": "integer"}]
index bd0d55452eda05729a543a7c24945351c131ba7b..93e5b366f163fbefc2dc25e3a939188616645fc5 100644 (file)
@@ -398,6 +398,8 @@ def test_openapi_schema():
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [{"type": "string"}, {"type": "integer"}]
index 084cb695d477c2dd11276c2eacf590dc35ebdeb5..b6c3c3d8da6e3846864a3fe141140174f8291ea8 100644 (file)
@@ -119,6 +119,8 @@ def test_openapi():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index 1891f0bde0b8dc24819f037d813ad003379a4eeb..f941e323bfcaf0e76acca120a72355d863df2014 100644 (file)
@@ -418,6 +418,8 @@ def test_openapi_schema():
                     },
                     "ValidationError": {
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "items": {
                                     "anyOf": [{"type": "string"}, {"type": "integer"}]
@@ -649,6 +651,8 @@ def test_openapi_schema_no_separate():
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [{"type": "string"}, {"type": "integer"}]
index 08eb0f40f3d1f090fd73390a7966ccfda31c5ee9..6b1f660cb7b00f754e1bb9d4da111750caafa782 100644 (file)
@@ -86,6 +86,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index f461947c977a794473686487be84d39679944f49..5060920f14624aa0b76a359e455f7ee330d9a513 100644 (file)
@@ -151,6 +151,8 @@ openapi_schema = {
                     },
                     "msg": {"title": "Message", "type": "string"},
                     "type": {"title": "Error Type", "type": "string"},
+                    "input": {"title": "Input"},
+                    "ctx": {"title": "Context", "type": "object"},
                 },
             },
         }
index 8f4c82532c2d252a9fb71b22c44aee5780b3ffb3..2b9299bc58a0f08042c52fc0b13dd462ac2b90b8 100644 (file)
@@ -78,6 +78,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 5b4daa450f467cef881efc13e4efec7ac77ce51f..6074206ffe0e7734c4a16a659467d8cd344b4e70 100644 (file)
@@ -132,6 +132,8 @@ def test_openapi_schema():
                     },
                     "ValidationError": {
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "items": {
                                     "anyOf": [{"type": "string"}, {"type": "integer"}]
index d6eaa45fb1ba8a582cf4659791e0da09f9268cb5..6074b628285ee8108ddb6a26e7302e74ab36f27d 100644 (file)
@@ -121,6 +121,8 @@ def test_openapi_schema():
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [{"type": "string"}, {"type": "integer"}]
index c21829bd9793c39c14404a45c582a29ef971d780..0fc7e3d3ef03c36896f90f145239b98bdcefc679 100644 (file)
@@ -35,6 +35,8 @@ schema = {
             },
             "ValidationError": {
                 "properties": {
+                    "ctx": {"title": "Context", "type": "object"},
+                    "input": {"title": "Input"},
                     "loc": {
                         "items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
                         "title": "Location",
index fd72eaab299ed9c6080c5fbe6905d9f3e15ffdf0..49e4ad4a2e6f8ede4f79ec0a039a68d6ef312515 100644 (file)
@@ -41,6 +41,8 @@ def test_openapi_schema():
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [{"type": "string"}, {"type": "integer"}]
index bf3aa758c328959545b2386eff9be46a086db416..b31aefa47968e953fe9d02d8f08d4a3ba29af83c 100644 (file)
@@ -90,6 +90,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index d1bff9ddf44d5a079ed4df453d2e8f54d04288a0..8731c3e5d332d36abd8d835710be0461fb646dab 100644 (file)
@@ -168,6 +168,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index ac8999c90a1a6b38f6f9366ca202297faf568a09..8caf6ce7af82f601787d13c879bc5f1049ceb573 100644 (file)
@@ -845,6 +845,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index 7ad9369956c2f8d63fbb1690fb6b6b7c223c6e16..bff1226ad93ebf8a40ebcb3317557d66f560b6e6 100644 (file)
@@ -237,6 +237,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 57c16058af8aedec97699ad1ebd83340ae203b39..5bcd5040fd70ab6fe9941babdb07fc64fb0c120e 100644 (file)
@@ -240,6 +240,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 60c6c242e059885d5fed75b9bd7f092e588b2109..0353ba4c2716e5fd95dcb9f3293434abf2287cc8 100644 (file)
@@ -241,6 +241,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 229fe801636d686e90d18ca8ad492bcd82cb5533..2be37b8bb83b59064bdb9790600d8c1742ca37d2 100644 (file)
@@ -184,6 +184,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index cc7e5f5c6aa58fc9ac2b645df2848634ba62ea8d..442e709fb16de242c31104244d27afb483f39f46 100644 (file)
@@ -277,6 +277,8 @@ def test_openapi_schema():
                         "required": ["loc", "msg", "type"],
                         "type": "object",
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "title": "Location",
                                 "type": "array",
index d3c89045b4c09e25982f139559ee8853ff13f062..de9487df2a22639fc690d9f701d4fb3b27ccddb8 100644 (file)
@@ -262,6 +262,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index 1a18db75ce6411250cda8df85835579441075e23..78ccb84426f87f62f8c60c222894fc50d42c1aa5 100644 (file)
@@ -98,6 +98,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 8208605956273a5b2ff625903607398d0317392d..cdab56d7a6e600acb8c30557ab24662c618ee8d0 100644 (file)
@@ -115,6 +115,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 90dc4e371e6f79806ccf1ff307f1c88b14c4477f..fda786b3987b43312a874baf55fec5a502e17261 100644 (file)
@@ -102,6 +102,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index c6abf5e4660c929af1d35fd368e5421b8dd2abf5..f36d3d79c25d1fc0569c764717ac954a9c4bb671 100644 (file)
@@ -118,6 +118,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index f5e243b95aed355401b66935171be1358bb04708..f80563d142b3d21760b1c91f90f0700fc1e0f3b0 100644 (file)
@@ -593,6 +593,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index 5a7cae1603a1185fd686fb5219ca3f0462a03012..9a837483f2a55a7a3684e2a62caf3d7ff528cc08 100644 (file)
@@ -328,6 +328,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index b6d51d523544ab2b43523c92ac1fbb29b6b748af..e8b23e8f6115733c7f7913f28ad4d2055aaa6235 100644 (file)
@@ -143,6 +143,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 227a125e78fbe7fb87200eb1294e651fcfcb8e47..7b8b7ea89f2cddb176eb73eddbae37b0d648ec4a 100644 (file)
@@ -153,6 +153,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 10212843eee2f8c6f40677d97aab6110718921fe..d78c760f5de4f686c4eda112ccd3c5747d6712d2 100644 (file)
@@ -164,6 +164,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 0ecadbb660d0bc757b941fa8974ae13894c1cc98..cb6da290852807818bcf891a469f4ca099980590 100644 (file)
@@ -166,6 +166,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 63c9c16d62d81c16b2cbb2959ef923d3eed8f4ba..a4f24627b0cf494e27ed38b6b86d3599b933e399 100644 (file)
@@ -162,6 +162,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index e98d5860fe34270c7bba30f645c981ce95f52728..155bda0c9928533c874d021d464549beee5d3292 100644 (file)
@@ -325,6 +325,8 @@ def test_openapi_schema(client: TestClient):
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [
index 76b7ff7099bfd953befe1036d250f16be16e2170..2f403797fe009482acb247580be1b8a554a8ce50 100644 (file)
@@ -202,6 +202,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 979c054cd0641f8741711c4d390d4638288afc77..506e55eebcabb5d6827f768dbe8296aa11bae853 100644 (file)
@@ -272,6 +272,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index d47aa1b4f9e56b2caf43226345c0ee4412f552f9..20859d12c8b1e9b7f667665bc4f0e10f94b831ab 100644 (file)
@@ -236,6 +236,8 @@ def test_openapi_schema(client: TestClient):
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [
index d452929c38a42818e50aab4e8a67810cbf3c6153..ae494350b31bf01ab149eda12b1ae866458c527a 100644 (file)
@@ -233,6 +233,8 @@ def test_openapi_schema(client: TestClient, mod_name: str):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index ff9596943d7040ea845aaab6536645abeca3d0dd..c1410330c41a5fdc93d717f9517a9a91aa6ce781 100644 (file)
@@ -257,6 +257,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 9a07a904e618958e394ff9b8509f6b92ead36ec1..c09e0c1b10f8129668a321a4aee197d381184ee3 100644 (file)
@@ -283,6 +283,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 088177cb95367cfcde9cffda352a9e0a9d8989db..f26c50167b875ce6244fafbe83d13d123abe84ba 100644 (file)
@@ -251,6 +251,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index a302819505a0addac8afea5ec3112dcacbee2b84..dac168e242b8a87d31260324bcf2db8e3f98ea31 100644 (file)
@@ -326,6 +326,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 32eb8ee75cbf08363446eeaf46f6d48ed47210aa..2101b7bbe57eedc642fcf480b4d48d8e4eb3854f 100644 (file)
@@ -139,6 +139,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index f2e56d40fb4246237a276f2074ba943ed9b0484c..f7481a5f7f4ade17c8f9e849320a6bf8a78fabaf 100644 (file)
@@ -98,6 +98,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 0401eb7d0d08a54ed5f6a856a7ede45f7bfbfd88..9c6a90576c64f28a979560ea055f01a083adc7ee 100644 (file)
@@ -168,6 +168,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 466e6af8fd8dd7a28e3ffa9a8a35a0f34e9a4dbc..7d79cf5e63a5325a73b92d564d186b542efa2501 100644 (file)
@@ -189,6 +189,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index ac8e7bdae11586b903c4a99b8bc7e1f9afbb32b9..f391c569a84ac220fb4f4c0110067eb3d80f7f74 100644 (file)
@@ -151,6 +151,8 @@ def test_openapi_schema(client: TestClient):
                     },
                     "ValidationError": {
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "items": {
                                     "anyOf": [{"type": "string"}, {"type": "integer"}]
index d7c3d15f1b8e39898ba955f2932d357a780fb7cb..6583045dc8ef902b594802b915e4565c0ee26c50 100644 (file)
@@ -161,6 +161,8 @@ def test_openapi_schema(client: TestClient):
                     },
                     "ValidationError": {
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "items": {
                                     "anyOf": [{"type": "string"}, {"type": "integer"}]
index 9b47cbc67a4e7ff82c2daac6296b6fbdcdce316c..ab7114876446befdc0c152cd1eca2c1fcc65c272 100644 (file)
@@ -101,6 +101,8 @@ def test_openapi_schema(mod: ModuleType):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 4683062f59b8250c46f8b070e240d41af48be14a..756eacf233777f42b270eefe54304131a4292eb9 100644 (file)
@@ -129,6 +129,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index a6a9fc1c7e8acf41c34082c329e963bfe7b5df5c..de63a947668881eb97909d96fc6248a0e9fec54e 100644 (file)
@@ -195,6 +195,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index 50d7c4108cc72d81f93b6b2707834c7b4e3c2879..15919c63f71c6696f1a121353ab3c498ac83ec4a 100644 (file)
@@ -170,6 +170,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index f09d6f268d5f3a82a990fc3740561779fb264a00..96300a25995a4e3e17196292fdbc1a5924610dc8 100644 (file)
@@ -161,6 +161,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index a914936ba1df9dfe3c837c5cddc0b64ac4515db7..e595859cb89a8e0becb14b47a11daf633f190fcf 100644 (file)
@@ -121,6 +121,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 59202df3bf65c61fae40be4465fae97e5417fb65..cdea27b7c0db182db5c5a93fb24f3df8b5c99d57 100644 (file)
@@ -125,6 +125,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 4868254c0be83934af173d3e572d400af115fff1..3374c54b5ebaf65422ee98562658bad40aa33aea 100644 (file)
@@ -102,6 +102,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index d5599ac73a002d53d8d31a95d2ee52446e43d0c0..f342ff842eccffd0ea48d1140dfab02e15356e87 100644 (file)
@@ -219,6 +219,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index 5c8ee054d84b2360360f3bea18d6bbd87835ce2e..5a4edbc66e771532a3d53db97843f33740f6aa1f 100644 (file)
@@ -172,6 +172,8 @@ def test_openapi_schema(client: TestClient):
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [
index 5fe99d50df5aab73ab1422e8608630c8c5f27062..48b838d5a0a8d8d7fbdcd05fa701a930a5b60d5a 100644 (file)
@@ -63,6 +63,8 @@ def test_openapi_schema(app: FastAPI):
                         "required": ["loc", "msg", "type"],
                         "type": "object",
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "title": "Location",
                                 "type": "array",
index 38710edfead7a253564197e33ae6436e280cb2a1..aed9def7ae799175433570af285fc9244e3916f7 100644 (file)
@@ -76,6 +76,8 @@ def test_openapi_schema():
                         "required": ["loc", "msg", "type"],
                         "type": "object",
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "title": "Location",
                                 "type": "array",
index 5479e2925241eb0b6d2b96a5c7abcd603e309865..28fe68f285fa90fec9ee1209a56f9857c0f8d1f4 100644 (file)
@@ -133,6 +133,8 @@ def test_openapi_schema(client: TestClient):
                         "required": ["loc", "msg", "type"],
                         "type": "object",
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "title": "Location",
                                 "type": "array",
index 3f2f508a113bf83e955a12d752c29fb40f8ee269..99816998621d7d5abe114ea376dd84161b27d04a 100644 (file)
@@ -138,6 +138,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 872af53830433236ba371a0312549212c13ad707..38e87415822c77b305836839d61a03bef18b6f31 100644 (file)
@@ -127,6 +127,8 @@ def test_openapi_schema(client: TestClient):
                         "required": ["loc", "msg", "type"],
                         "type": "object",
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "title": "Location",
                                 "type": "array",
index bbb66b451608e4e084b62b5447db9b38cd18a064..83ae38c5b52ea0ae55b6d9c676af858f35dc8ca4 100644 (file)
@@ -135,6 +135,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index ab8bc4c11cd2ad95a6ee4449e1f4ba74e1307a9d..b9255325aac9b01da809cca6c17edb62d20065f6 100644 (file)
@@ -180,6 +180,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index bac52e4fd6307b51b56b4930a7e3f664bf86034c..d05484587981edf39665cc05a8c5afd033b38340 100644 (file)
@@ -180,6 +180,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index e66f6d2a12316f5602885c2507ec6a45701534cc..eea60e3428f5ac3e2918e5fc0d3cdfdb86e79a57 100644 (file)
@@ -82,6 +82,8 @@ def test_remove_tags(tmp_path: pathlib.Path):
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [
index c01850fae6549481989d5b5963b340f05311c822..e22f1dafd4fb79a348fd548899a5ade75ba2868e 100644 (file)
@@ -72,6 +72,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 09366a86fa03c2584a27eda6017775ca4b4b0013..991478a0fe6e7294be25b05c7dc07446b1c0ee1f 100644 (file)
@@ -72,6 +72,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 51ac3e7b28a35b31f97ca5ab91c57e6c3cb30699..c303960bde14f0130e1028ab0080ceaee30a3c63 100644 (file)
@@ -73,6 +73,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 376bc8266fd6c7948a4831c490091062da8f387c..f6ec59b4d0f8ee30e78b245e40fddde957e83a2a 100644 (file)
@@ -78,6 +78,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 7bd947f194fffc31d8d133ea772e9175db004d46..a7fa4f0b6485de28a78e6b9a9391284bd1e993b9 100644 (file)
@@ -102,6 +102,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index e95e53d5ed9f3be67b6af72df86b855a45a8b64b..9cb57d857d66ae29b9bc71e3bdd64c4b07c6e1c2 100644 (file)
@@ -86,6 +86,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 1fa8aee461a9e8986e752db1a017ca472007cf5e..2d14c698e0f1d3b4b31148d5d5ea6e6c1db7771e 100644 (file)
@@ -187,6 +187,8 @@ def test_openapi_schema(client: TestClient):
                     },
                     "ValidationError": {
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "items": {
                                     "anyOf": [{"type": "string"}, {"type": "integer"}]
index 079a8f5402d2af451bc30b972dfefd0b8a4dabcf..478ac8408777fead460fd516558ecaeb4a21909f 100644 (file)
@@ -184,6 +184,8 @@ def test_openapi_schema(client: TestClient):
                     },
                     "ValidationError": {
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "items": {
                                     "anyOf": [{"type": "string"}, {"type": "integer"}]
index 4c89d80ee21ce8dc1f13d9b961bfe84228b2644a..00636c2b533792acef3f2b2a9e660261d733109f 100644 (file)
@@ -224,6 +224,8 @@ def test_openapi_schema(client: TestClient):
                     },
                     "ValidationError": {
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "items": {
                                     "anyOf": [{"type": "string"}, {"type": "integer"}]
index 88591b82258275bc605cf183e4c80d7d4324a61b..60342f70a41b09491ed08b60e2f508b9208b341f 100644 (file)
@@ -93,6 +93,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 229f96c1f8401e0a726a9a28e94cc3e6d6296527..f1ced99b1b30eda99c97e96ce2c5a14ab97aea3e 100644 (file)
@@ -104,6 +104,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index cf067ccf9e3a57a4e56b4a489af1376cff61bd2d..382c3ae19161b810de26f1329e9c191a7c97db2c 100644 (file)
@@ -112,6 +112,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index 6fde96cb5b1ee56205fb29a743587d09d089568c..e8c98e8063fa444c8ba40c4badbe3d6a34c4450d 100644 (file)
@@ -195,6 +195,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index 27619489fa855441f7c291a36af8992b4b2feeca..c58e0fd02c2da8bcbb17d93b5ff26b36ace06d54 100644 (file)
@@ -98,6 +98,8 @@ def test_openapi_schema():
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [{"type": "string"}, {"type": "integer"}]
index a95540731dd1255282f8369356dab73086dbdd07..75b08a4e75d6451f8bc4ded249bce6882c537174 100644 (file)
@@ -118,6 +118,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 085d1f5e19ca4bd9611d9b2b248ebaf98c999a37..de81251d041964fe8b7499d45b10154021fdb2e4 100644 (file)
@@ -150,6 +150,8 @@ def test_openapi_schema(client: TestClient):
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [
index c7414d756af7553ae1baea73508e3cc96f2f1c08..28e5e7d8d199037d0aa7bf6f73f1ebc278a7d9a4 100644 (file)
@@ -187,6 +187,8 @@ def test_openapi_schema(client: TestClient):
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [
index 791db24625739848836c708994dbbcb7fb468000..e42c3e2b73dcf083c2e61429435bccc51c09b8cb 100644 (file)
@@ -172,6 +172,8 @@ def test_openapi_schema(client: TestClient, mod_name: str):
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [
index c5a3aec1d987df4c5ced42cca57c599cc59b507b..b684c9f5c2729f0bf82d0bbb00354aa982a23691 100644 (file)
@@ -117,6 +117,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index a898e386fb1ca39c318689f88847bc7ae669626b..f54626f339ded4fe3d914c5278db9464e4713fe0 100644 (file)
@@ -80,6 +80,8 @@ def test_openapi_schema():
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [
index 0bfc9f807efb975ba171b39cd30f98d2698a9711..46da41b481a0204e82541fed9354585a2d0fd66b 100644 (file)
@@ -88,6 +88,8 @@ def test_openapi_schema():
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [
index cd2c39ab063d38e48b55c73aa341f620b0ff9ca4..6ac92c87e337944507fa3a618d782ab1b94c7cce 100644 (file)
@@ -97,6 +97,8 @@ def test_openapi_schema():
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [
index f7f233ccff3814bb7320c990707d8261d5f44537..8f460fb695f3679a8a7b7ee8c47b572426ca087e 100644 (file)
@@ -73,6 +73,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 86ccce7b6d35d8c1a31a16fb5b4a7e8b62a4fbaf..3e3766e845112e89d8b98939ea159cf3843fcaf5 100644 (file)
@@ -110,6 +110,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index f1e304103056ca80ed78d14616c6fce048421aa5..a4d68d01b42f96b19acc9277b6c0dc87a5802098 100644 (file)
@@ -128,6 +128,8 @@ def test_openapi_schema(client: TestClient):
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [
index 467c915dcda94c281386240bae2fee96bbf6e5f5..37533bd2280422da2319b50631badfabfe02cf1e 100644 (file)
@@ -134,6 +134,8 @@ def test_openapi_schema(client: TestClient):
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [
index d3593c984c439537d7d9feb6e611eb86eafd9480..a9c111a59422b6758f064f6c08606e18a680dc55 100644 (file)
@@ -149,6 +149,8 @@ def test_openapi_schema(client: TestClient):
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [
index 296192593bd969745085e0fbaeba6c48c23c9caa..e0e976d6f31e5bfa7babb09fa8c4b94224572491 100644 (file)
@@ -166,6 +166,8 @@ def test_openapi_schema(client: TestClient):
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [
index 9dc7d7aac2528bf537ecbcddedcfc804faa06fe0..2004ad1d2bab313ceffbb20fe65d5e50506e4bba 100644 (file)
@@ -185,6 +185,8 @@ def test_openapi_schema(client: TestClient):
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [
index d3ce57121d14a88e69e115d44c29b039cf721cfe..38b767154a3e0dba2ca3e163b8a5a9320f9d557f 100644 (file)
@@ -207,6 +207,8 @@ def test_openapi_schema(client: TestClient):
                     },
                     "ValidationError": {
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "items": {
                                     "anyOf": [{"type": "string"}, {"type": "integer"}]
index 96abce6ab9766636a3d12699bbb193db00da64a6..b173a2df452c20ef11882103ec686404f7a29944 100644 (file)
@@ -213,6 +213,8 @@ def test_openapi_schema(client: TestClient):
                     },
                     "ValidationError": {
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "items": {
                                     "anyOf": [{"type": "string"}, {"type": "integer"}]
index 4c92b57b8dde78cb4988b9d24630403daeb3363a..84e4557272907095dcc66a0682b7e81f339b0f3d 100644 (file)
@@ -108,6 +108,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index ae3ee7613dd0daf09ece6756becf1995f340727a..f725c80b323d3137df3e4ef3b3149adca7ee8c70 100644 (file)
@@ -109,6 +109,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index c0b7e3b1332dae2c2aa0c2866cbb9a6352682b6e..9f1f2e6e4cb113efcc45ab91231c87c6559005a7 100644 (file)
@@ -130,6 +130,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 9be18b74df0e9962bf4a7375fcca3c3264824ee2..e834f973a91cebf08093ab02e6bb4ed73d7f7258 100644 (file)
@@ -138,6 +138,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 10307814720d70ea7aff604d709f5e5c94fc9be9..36129dbc96cc34c641c2edc92893a9317301631a 100644 (file)
@@ -86,6 +86,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 157322c7e318ea5ead2bdcbbbda47ab9d171b1d6..473dc33661a7210a7f5670c3a33ee4943e5d905f 100644 (file)
@@ -137,6 +137,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index f1af7e08c12594d3076bb4138ba1e13cd7fcc772..069921629ebf664c5886a1b3c4843ee410293a0a 100644 (file)
@@ -103,6 +103,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 62018b80b5baf6d72c9268dd5c4c17349d482827..a043b5b2e755d777f2cf0cdb087e727ee405fb1e 100644 (file)
@@ -124,6 +124,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index a4ad7a63bac92cfef683e8a268799cbac04ba8fa..68c6e6174f85a5b47f66851fb2e743a95406087c 100644 (file)
@@ -135,6 +135,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 585989a8275403be86d7a1df1cef650c708c2324..79538f952bd0951e121c75feb038a330487b0208 100644 (file)
@@ -129,6 +129,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 52462fe33b89d665feb42b2210f5aa55269653b4..fafbd0a7d08ade1d1e81846471ebf8a6578f9d0e 100644 (file)
@@ -113,6 +113,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 640cedce196e480ca121bf6555c3e4326c264fde..1d01492c668bdea9b22e3dda188e9b45021bcb8f 100644 (file)
@@ -118,6 +118,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index f287b5dcd807e1e6adae4add1212ed80aa69a56c..d31cb5036a264a86662a955b747a436732e7ce3a 100644 (file)
@@ -130,6 +130,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index b17bc2771939d4f96426f6bde814f8c2fb707115..e030902451e9f0d4adc8801d5a5cbb5a15fa3cfa 100644 (file)
@@ -118,6 +118,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index c63111574434be4a4dde73777457b13b7c2c98cb..186de5e062e0be05f8ee3983b7db6f9e82f82b24 100644 (file)
@@ -120,6 +120,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 7e9d69d41c24b53e06bf9139591ff3f930955273..b242a75c90cc2fe186b7b79b44515236dc2892ad 100644 (file)
@@ -105,6 +105,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 00889c5bf77dc8ed6b654d40eb2b48f14111bf61..6a39130af24b4c3bb8db91d8290044335e305fe5 100644 (file)
@@ -136,6 +136,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 11de33ae14f5c16cb04a0212db8ad7979a461869..6ab279bf3e44d64a2962b62e0a8e0efd84c4094c 100644 (file)
@@ -98,6 +98,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 1826928611a89b640425bbc35fefbfde7bf3ff48..41bfeb3a7aa73c3bb73a26e03fabf14f162a5570 100644 (file)
@@ -93,6 +93,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 46c367c86bc0c40cbac101a8283489e4b90b66fe..52c8147ffb7eb38fb24e1771e695f31e64c0bfac 100644 (file)
@@ -93,6 +93,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 0feaccfa44f643f26f4dca286b8521ddbaea683c..bb168f0fc386d65242b2edec1089033ae3ffb85f 100644 (file)
@@ -93,6 +93,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index 82bb606a9b3c151bcfe636efb2283b1c33d62e8c..32a990e74837348ef521b4c4b12ea82490f6d2fe 100644 (file)
@@ -122,6 +122,8 @@ def test_openapi_schema(client: TestClient):
                     },
                     "ValidationError": {
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "items": {
                                     "anyOf": [{"type": "string"}, {"type": "integer"}]
index e0e1bbe639f9bafc1fe9a7d4d109163c74ffec57..db9b83b31a0350a8ee792f762a83a02beeb7661c 100644 (file)
@@ -183,6 +183,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 18948c544422487d4412da63de4463b2e9a07db6..feeb5363ed918523d46b20d7643ade7e9c84e474 100644 (file)
@@ -173,6 +173,8 @@ def test_openapi_schema(client: TestClient):
                         "required": ["loc", "msg", "type"],
                         "type": "object",
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "title": "Location",
                                 "type": "array",
index 53a7a0cf85ca4a3bfdb18d0b41c9f1dc56c66665..903452ac769db9c904ece7077e1a039c42f19ae9 100644 (file)
@@ -163,6 +163,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index 03772419ad2425a5710f4ffa1188b81341d0b7d2..4d9ff0e93dd67f66c88f637d6e1a6d547c65d599 100644 (file)
@@ -223,6 +223,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index fa4bfd569547281f35fd89c168003cbaebae3e85..c9f7f09940927f4239c4fa9812d256ffdd1b4efb 100644 (file)
@@ -206,6 +206,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index 0c43dd7b2111ea45bbcc4bddd3c648886eba1727..c4740ee72da543121fcd950a2e01441da5a40888 100644 (file)
@@ -159,6 +159,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 238f8fa2ef2eeb24fad68cf4eb3d390edaf9a6c6..b07fce432a87836cf550a1e29d579959eaba7c65 100644 (file)
@@ -177,6 +177,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 4276414fc2143352f53b9870c2253828f770c213..f5f76306e97d17af5758e8b6c66fa5272043f2e0 100644 (file)
@@ -161,6 +161,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 7fa4c3de57d4bcb76d767f0d1d826d78fa63cdd6..cd05a1ccf1c604953552d5f2b495e7045a50857b 100644 (file)
@@ -216,6 +216,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 2d0c387195921bbaf1500ba0da918d506957559e..76e7143bdaf13d5b2e640925e04b77a667c300c0 100644 (file)
@@ -130,6 +130,8 @@ def test_openapi_schema_pv2(client: TestClient):
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [
index 10692f99045722b382727b4a8b204d57ed387b87..265162f15f5aa5aea1e0bb3d4b775c979f7b9f77 100644 (file)
@@ -175,6 +175,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 216d4c420c203783f2b34c185430a280be0b4993..17027d3c10253873c99a0fbcd9087a5f2e96db0f 100644 (file)
@@ -111,6 +111,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 35ed5572dd8928bac4a404167655034351b41b75..a1477b7dfd9253e9daa5e04cb14c4d87ec2ea8fc 100644 (file)
@@ -126,6 +126,8 @@ def test_openapi_schema(client: TestClient):
                         "required": ["loc", "msg", "type"],
                         "type": "object",
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "title": "Location",
                                 "type": "array",
index fa1eb627706961bbe6504d74377a647b8602e16e..a60a14ae8d9eb5257499bf2a9901a665a7a0edb2 100644 (file)
@@ -139,6 +139,8 @@ def test_openapi_schema(client: TestClient):
                         "required": ["loc", "msg", "type"],
                         "type": "object",
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "title": "Location",
                                 "type": "array",
index b7507b71105547bd988c136b18723e4b96db5c8c..fcd5f9a1d48b9c07f0505daadcd3b971c5640f63 100644 (file)
@@ -86,6 +86,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index 19a7c601bb482df6e9673814cafa1e5a14030628..e64ed1a8045e6e1f8ffcc4367c4425ef400e07f6 100644 (file)
@@ -101,6 +101,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index 9c0d95ebd043dbbe5e2808035cc940c1b9eae1d2..d40bce261b28a2a3a7b4d0f3f4562661b81ba218 100644 (file)
@@ -117,6 +117,8 @@ def test_openapi_schema(client: TestClient):
                         "required": ["loc", "msg", "type"],
                         "type": "object",
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "title": "Location",
                                 "type": "array",
index 63e8535db0e3a49d36d69208929c6ffd5b5f561d..55b2334d4695427674bb6ea7cd745997d0551a78 100644 (file)
@@ -135,6 +135,8 @@ def test_openapi_schema(client: TestClient):
                         "required": ["loc", "msg", "type"],
                         "type": "object",
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "title": "Location",
                                 "type": "array",
index 08ab659527e8da40d7a0cb546493578628a3d646..5d6f542b5d273c8046f9fecd2d922aeba57acdd7 100644 (file)
@@ -135,6 +135,8 @@ def test_openapi_schema(client: TestClient):
                         "required": ["loc", "msg", "type"],
                         "type": "object",
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "title": "Location",
                                 "type": "array",
index ddf55a045d156916f5ab31847eda7ade19884b7a..8b6213e33d61d4be7224c4a7dc3f2858d43a49d3 100644 (file)
@@ -78,6 +78,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 82f69fd463d8e9ffeb380731278f19dbc34d0fcf..7f0105a26d356bc7f4c355d10b31aaf5133c65cc 100644 (file)
@@ -120,6 +120,8 @@ def test_openapi_schema(client: TestClient):
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [{"type": "string"}, {"type": "integer"}]
index 4f524086052655442171fabd2c20c6ff9d268fbe..32707c2993c233886c8e46a89521e36ac50edbef 100644 (file)
@@ -122,6 +122,8 @@ def test_openapi_schema(client: TestClient):
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [{"type": "string"}, {"type": "integer"}]
index 3529a9bf0204d11c465045b49d7c061cadc5d8a1..4f8f1394c13afbaf7e9f692b9f5d00d837e4c930 100644 (file)
@@ -124,6 +124,8 @@ def test_openapi_schema(client: TestClient):
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [{"type": "string"}, {"type": "integer"}]
index 9326e06290b400a7f130f0613c1fd9849cdac5ac..3a0a7704bfdfa8d80b2e3cd0d4f173a113d7c014 100644 (file)
@@ -140,6 +140,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index 2d0dee48ca55ea0b4c44d26b5bb5ff88f0920fb6..b10f25e26216200a4383abd3b16f293018f519c1 100644 (file)
@@ -149,6 +149,8 @@ def test_openapi_schema(client: TestClient) -> None:
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
             }
index 6a786348cff1130116ca7d0a2b2fdd72a8dac3b5..924b36b3abbb7009c7bee942f86498ac38709de2 100644 (file)
@@ -182,6 +182,8 @@ def test_openapi_schema(client: TestClient):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index b5e3d39ef7a7dd24589daf935e84f8dafa74c742..2b0df66a2e507b03e2e1f3d6ee347c13c74294ba 100644 (file)
@@ -334,6 +334,8 @@ def test_openapi_schema(mod: ModuleType):
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 25b47f0adc214edb94888f75e2bd67bc2755f0c1..76b08860f531794eaac51b260cf667bebbd520c8 100644 (file)
@@ -379,6 +379,8 @@ def test_openapi_schema(mod: ModuleType):
                             },
                             "msg": {"title": "Message", "type": "string"},
                             "type": {"title": "Error Type", "type": "string"},
+                            "input": {"title": "Input"},
+                            "ctx": {"title": "Context", "type": "object"},
                         },
                     },
                     "HTTPValidationError": {
index 275b2348775b69097a45cc371a9b3845cbed2934..d0a0d5d388397adc25cea5aa6a0dfd35f297e887 100644 (file)
@@ -121,6 +121,8 @@ def test_openapi_schema(client: TestClient) -> None:
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [{"type": "string"}, {"type": "integer"}]
index 8230e3922676dc1abf4ec617ad9c28360753cc8f..a2fa56f93209a780a6551055ecb3d0c48de0038b 100644 (file)
@@ -121,6 +121,8 @@ def test_openapi_schema(client: TestClient) -> None:
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [{"type": "string"}, {"type": "integer"}]
index 2c628f52571572ca0d8715c2206fb4b8f2c7d3f5..aec20e42e13817af65c9438785c156fb21fa59b7 100644 (file)
@@ -335,6 +335,8 @@ def test_openapi_schema(client: TestClient):
                     },
                     "ValidationError": {
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "items": {
                                     "anyOf": [{"type": "string"}, {"type": "integer"}]
index c72c16e9ae663d3086fd727c52ab923ddbc7c533..4ea7d5f64743d84b80edd4223c003a0031fb6cad 100644 (file)
@@ -416,6 +416,8 @@ def test_openapi_schema(client: TestClient):
                     },
                     "ValidationError": {
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "items": {
                                     "anyOf": [{"type": "string"}, {"type": "integer"}]
index 33e661b16484c5f4b760c25ee77456c657c38a5e..b55bfb4567b46d7699c1bb86c70066e29df40f9f 100644 (file)
@@ -76,6 +76,8 @@ def test_openapi():
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [
index ee7fcc42316e3e2770d4093108f2ff96466bcab5..ee56bb6eb1bc1f352ab77f556edfa7e1bad48696 100644 (file)
@@ -111,6 +111,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 6c31649bcc5154ec0a31c6e5f4c5ca46ab35d0ee..4afe7be4b4f36c33198c778b617835ec95345de0 100644 (file)
@@ -154,6 +154,8 @@ def test_discriminator_pydantic_v2() -> None:
                     },
                     "ValidationError": {
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "items": {
                                     "anyOf": [{"type": "string"}, {"type": "integer"}]
index 42a6aed24c2e4eada168ea937bbfde0873ee0cb7..6644d106c8708ca9c24f73d80a3c1d3559e86d3b 100644 (file)
@@ -181,6 +181,8 @@ def test_openapi_schema(client: TestClient) -> None:
                     },
                     "ValidationError": {
                         "properties": {
+                            "ctx": {"title": "Context", "type": "object"},
+                            "input": {"title": "Input"},
                             "loc": {
                                 "items": {
                                     "anyOf": [{"type": "string"}, {"type": "integer"}]
index 018949f0c7da5d1a1be5a35a75a831539648e82f..d90d0753a922cc78858cde0a0e17c73b1f574293 100644 (file)
@@ -136,6 +136,8 @@ def test_openapi_schema():
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [{"type": "string"}, {"type": "integer"}]
index 3c062e7f5a7ba7a13272a3ca7a298e0e3f8a251e..6b284c68c3ebdcce9b3a6e0e27900beafcef9039 100644 (file)
@@ -117,6 +117,8 @@ def test_openapi_schema():
                         },
                         "msg": {"title": "Message", "type": "string"},
                         "type": {"title": "Error Type", "type": "string"},
+                        "input": {"title": "Input"},
+                        "ctx": {"title": "Context", "type": "object"},
                     },
                 },
                 "HTTPValidationError": {
index 982ae1e21d690630739e0a7165a09e6b8098df6c..c2c2809b2ff90b9d9af10cc78d63108417403c4d 100644 (file)
@@ -106,6 +106,8 @@ def test_openapi_schema():
                 },
                 "ValidationError": {
                     "properties": {
+                        "ctx": {"title": "Context", "type": "object"},
+                        "input": {"title": "Input"},
                         "loc": {
                             "items": {
                                 "anyOf": [{"type": "string"}, {"type": "integer"}]