Browse Source

🎨 Auto format

pull/14520/head
pre-commit-ci-lite[bot] 7 months ago
committed by GitHub
parent
commit
85b156c180
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      tests/test_additional_properties.py
  2. 6
      tests/test_additional_properties_bool.py
  3. 6
      tests/test_additional_responses_custom_model_in_callback.py
  4. 6
      tests/test_additional_responses_default_validationerror.py
  5. 6
      tests/test_annotated.py
  6. 6
      tests/test_application.py
  7. 6
      tests/test_compat_params_v1.py
  8. 6
      tests/test_dependency_duplicates.py
  9. 6
      tests/test_extra_routes.py
  10. 6
      tests/test_filter_pydantic_sub_model/test_filter_pydantic_sub_model_pv1.py
  11. 6
      tests/test_filter_pydantic_sub_model_pv2.py
  12. 6
      tests/test_forms_single_param.py
  13. 42
      tests/test_generate_unique_id_function.py
  14. 6
      tests/test_get_request_body.py
  15. 6
      tests/test_include_router_defaults_overrides.py
  16. 6
      tests/test_infer_param_optionality.py
  17. 6
      tests/test_modules_same_name_body/test_main.py
  18. 6
      tests/test_multi_body_errors.py
  19. 6
      tests/test_multi_query_errors.py
  20. 6
      tests/test_no_schema_split.py
  21. 6
      tests/test_openapi_examples.py
  22. 6
      tests/test_openapi_query_parameter_extension.py
  23. 12
      tests/test_openapi_separate_input_output_schemas.py
  24. 6
      tests/test_param_in_path_and_dependency.py
  25. 6
      tests/test_put_no_body.py
  26. 6
      tests/test_pydantic_v1_v2_01.py
  27. 6
      tests/test_pydantic_v1_v2_list.py
  28. 6
      tests/test_pydantic_v1_v2_mixed.py
  29. 12
      tests/test_pydantic_v1_v2_multifile/test_multifile.py
  30. 6
      tests/test_pydantic_v1_v2_noneable.py
  31. 6
      tests/test_regex_deprecated_body.py
  32. 6
      tests/test_regex_deprecated_params.py
  33. 6
      tests/test_repeated_parameter_alias.py
  34. 6
      tests/test_reponse_set_reponse_code_empty.py
  35. 6
      tests/test_request_body_parameters_media_type.py
  36. 6
      tests/test_schema_extra_examples.py
  37. 6
      tests/test_security_oauth2.py
  38. 6
      tests/test_security_oauth2_optional.py
  39. 6
      tests/test_security_oauth2_optional_description.py
  40. 6
      tests/test_starlette_exception.py
  41. 6
      tests/test_sub_callbacks.py
  42. 6
      tests/test_tuples.py
  43. 6
      tests/test_tutorial/test_additional_responses/test_tutorial001.py
  44. 6
      tests/test_tutorial/test_additional_responses/test_tutorial002.py
  45. 6
      tests/test_tutorial/test_additional_responses/test_tutorial003.py
  46. 6
      tests/test_tutorial/test_additional_responses/test_tutorial004.py
  47. 6
      tests/test_tutorial/test_bigger_applications/test_main.py
  48. 6
      tests/test_tutorial/test_body/test_tutorial001.py
  49. 6
      tests/test_tutorial/test_body_fields/test_tutorial001.py
  50. 6
      tests/test_tutorial/test_body_multiple_params/test_tutorial001.py
  51. 6
      tests/test_tutorial/test_body_multiple_params/test_tutorial003.py
  52. 6
      tests/test_tutorial/test_body_nested_models/test_tutorial009.py
  53. 12
      tests/test_tutorial/test_body_updates/test_tutorial001.py
  54. 6
      tests/test_tutorial/test_cookie_param_models/test_tutorial001.py
  55. 6
      tests/test_tutorial/test_cookie_param_models/test_tutorial002.py
  56. 6
      tests/test_tutorial/test_cookie_params/test_tutorial001.py
  57. 6
      tests/test_tutorial/test_dataclasses/test_tutorial001.py
  58. 12
      tests/test_tutorial/test_dataclasses/test_tutorial003.py
  59. 6
      tests/test_tutorial/test_dependencies/test_tutorial001.py
  60. 6
      tests/test_tutorial/test_dependencies/test_tutorial004.py
  61. 6
      tests/test_tutorial/test_dependencies/test_tutorial006.py
  62. 6
      tests/test_tutorial/test_dependencies/test_tutorial012.py
  63. 6
      tests/test_tutorial/test_events/test_tutorial001.py
  64. 6
      tests/test_tutorial/test_events/test_tutorial003.py
  65. 6
      tests/test_tutorial/test_extra_data_types/test_tutorial001.py
  66. 6
      tests/test_tutorial/test_extra_models/test_tutorial003.py
  67. 6
      tests/test_tutorial/test_generate_clients/test_tutorial003.py
  68. 6
      tests/test_tutorial/test_handling_errors/test_tutorial001.py
  69. 6
      tests/test_tutorial/test_handling_errors/test_tutorial002.py
  70. 6
      tests/test_tutorial/test_handling_errors/test_tutorial003.py
  71. 6
      tests/test_tutorial/test_handling_errors/test_tutorial004.py
  72. 6
      tests/test_tutorial/test_handling_errors/test_tutorial005.py
  73. 6
      tests/test_tutorial/test_handling_errors/test_tutorial006.py
  74. 6
      tests/test_tutorial/test_header_param_models/test_tutorial001.py
  75. 6
      tests/test_tutorial/test_header_param_models/test_tutorial002.py
  76. 6
      tests/test_tutorial/test_header_param_models/test_tutorial003.py
  77. 6
      tests/test_tutorial/test_header_params/test_tutorial001.py
  78. 6
      tests/test_tutorial/test_header_params/test_tutorial002.py
  79. 6
      tests/test_tutorial/test_header_params/test_tutorial003.py
  80. 6
      tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py
  81. 6
      tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py
  82. 12
      tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial004.py
  83. 12
      tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py
  84. 6
      tests/test_tutorial/test_path_params/test_tutorial004.py
  85. 6
      tests/test_tutorial/test_path_params/test_tutorial005.py
  86. 6
      tests/test_tutorial/test_pydantic_v1_in_v2/test_tutorial002.py
  87. 6
      tests/test_tutorial/test_pydantic_v1_in_v2/test_tutorial003.py
  88. 6
      tests/test_tutorial/test_pydantic_v1_in_v2/test_tutorial004.py
  89. 6
      tests/test_tutorial/test_query_param_models/test_tutorial001.py
  90. 6
      tests/test_tutorial/test_query_param_models/test_tutorial002.py
  91. 6
      tests/test_tutorial/test_query_params/test_tutorial005.py
  92. 6
      tests/test_tutorial/test_query_params/test_tutorial006.py
  93. 6
      tests/test_tutorial/test_query_params_str_validations/test_tutorial010.py
  94. 6
      tests/test_tutorial/test_query_params_str_validations/test_tutorial011.py
  95. 6
      tests/test_tutorial/test_query_params_str_validations/test_tutorial012.py
  96. 6
      tests/test_tutorial/test_query_params_str_validations/test_tutorial013.py
  97. 6
      tests/test_tutorial/test_query_params_str_validations/test_tutorial014.py
  98. 6
      tests/test_tutorial/test_query_params_str_validations/test_tutorial015.py
  99. 6
      tests/test_tutorial/test_request_files/test_tutorial001.py
  100. 6
      tests/test_tutorial/test_request_files/test_tutorial001_02.py

6
tests/test_additional_properties.py

@ -93,7 +93,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_additional_properties_bool.py

@ -125,7 +125,11 @@ def test_openapi_schema():
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],

6
tests/test_additional_responses_custom_model_in_callback.py

@ -147,7 +147,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

6
tests/test_additional_responses_default_validationerror.py

@ -68,7 +68,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_annotated.py

@ -307,7 +307,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

6
tests/test_application.py

@ -1271,7 +1271,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_compat_params_v1.py

@ -1113,7 +1113,11 @@ def test_openapi_schema():
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],

6
tests/test_dependency_duplicates.py

@ -241,7 +241,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

6
tests/test_extra_routes.py

@ -354,7 +354,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_filter_pydantic_sub_model/test_filter_pydantic_sub_model_pv1.py

@ -125,7 +125,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

6
tests/test_filter_pydantic_sub_model_pv2.py

@ -179,7 +179,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

6
tests/test_forms_single_param.py

@ -91,7 +91,11 @@ def test_openapi_schema():
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],

42
tests/test_generate_unique_id_function.py

@ -225,7 +225,11 @@ def test_top_level_generate_unique_id():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }
@ -429,7 +433,11 @@ def test_router_overrides_generate_unique_id():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }
@ -633,7 +641,11 @@ def test_router_include_overrides_generate_unique_id():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }
@ -910,7 +922,11 @@ def test_subrouter_top_level_include_overrides_generate_unique_id():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }
@ -1117,7 +1133,11 @@ def test_router_path_operation_overrides_generate_unique_id():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }
@ -1328,7 +1348,11 @@ def test_app_path_operation_overrides_generate_unique_id():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }
@ -1617,7 +1641,11 @@ def test_callback_override_generate_unique_id():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

6
tests/test_get_request_body.py

@ -102,7 +102,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

6
tests/test_include_router_defaults_overrides.py

@ -7292,7 +7292,11 @@ def test_openapi():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

6
tests/test_infer_param_optionality.py

@ -352,7 +352,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

6
tests/test_modules_same_name_body/test_main.py

@ -133,7 +133,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_multi_body_errors.py

@ -223,7 +223,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_multi_query_errors.py

@ -120,7 +120,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_no_schema_split.py

@ -194,7 +194,11 @@ def test_openapi_schema():
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],

6
tests/test_openapi_examples.py

@ -463,7 +463,11 @@ def test_openapi_schema():
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],

6
tests/test_openapi_query_parameter_extension.py

@ -132,7 +132,11 @@ def test_openapi():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

12
tests/test_openapi_separate_input_output_schemas.py

@ -440,7 +440,11 @@ def test_openapi_schema():
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],
@ -675,7 +679,11 @@ def test_openapi_schema_no_separate():
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],

6
tests/test_param_in_path_and_dependency.py

@ -88,7 +88,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

6
tests/test_put_no_body.py

@ -80,7 +80,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_pydantic_v1_v2_01.py

@ -466,7 +466,11 @@ def test_openapi_schema():
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],

6
tests/test_pydantic_v1_v2_list.py

@ -692,7 +692,11 @@ def test_openapi_schema():
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],

6
tests/test_pydantic_v1_v2_mixed.py

@ -1490,7 +1490,11 @@ def test_openapi_schema():
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],

12
tests/test_pydantic_v1_v2_multifile/test_multifile.py

@ -833,7 +833,11 @@ def test_openapi_schema():
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],
@ -1047,7 +1051,11 @@ def test_openapi_schema():
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],

6
tests/test_pydantic_v1_v2_noneable.py

@ -757,7 +757,11 @@ def test_openapi_schema():
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],

6
tests/test_regex_deprecated_body.py

@ -172,7 +172,11 @@ def test_openapi_schema():
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],

6
tests/test_regex_deprecated_params.py

@ -155,7 +155,11 @@ def test_openapi_schema():
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],

6
tests/test_repeated_parameter_alias.py

@ -52,7 +52,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],
"title": "ValidationError", "title": "ValidationError",

6
tests/test_reponse_set_reponse_code_empty.py

@ -92,7 +92,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

6
tests/test_request_body_parameters_media_type.py

@ -172,7 +172,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

6
tests/test_schema_extra_examples.py

@ -961,7 +961,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

6
tests/test_security_oauth2.py

@ -302,7 +302,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_security_oauth2_optional.py

@ -305,7 +305,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_security_oauth2_optional_description.py

@ -306,7 +306,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_starlette_exception.py

@ -186,7 +186,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_sub_callbacks.py

@ -307,7 +307,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

6
tests/test_tuples.py

@ -305,7 +305,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

6
tests/test_tutorial/test_additional_responses/test_tutorial001.py

@ -100,7 +100,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_additional_responses/test_tutorial002.py

@ -124,7 +124,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_additional_responses/test_tutorial003.py

@ -104,7 +104,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_additional_responses/test_tutorial004.py

@ -127,7 +127,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_bigger_applications/test_main.py

@ -721,7 +721,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

6
tests/test_tutorial/test_body/test_tutorial001.py

@ -473,7 +473,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_body_fields/test_tutorial001.py

@ -200,7 +200,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_body_multiple_params/test_tutorial001.py

@ -203,7 +203,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_body_multiple_params/test_tutorial003.py

@ -270,7 +270,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_body_nested_models/test_tutorial009.py

@ -117,7 +117,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

12
tests/test_tutorial/test_body_updates/test_tutorial001.py

@ -172,7 +172,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {
@ -309,7 +313,11 @@ def test_openapi_schema_pv1(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_cookie_param_models/test_tutorial001.py

@ -196,7 +196,11 @@ def test_openapi_schema(client: TestClient):
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],

6
tests/test_tutorial/test_cookie_param_models/test_tutorial002.py

@ -234,7 +234,11 @@ def test_openapi_schema(client: TestClient):
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],

6
tests/test_tutorial/test_cookie_params/test_tutorial001.py

@ -111,7 +111,11 @@ def test_openapi_schema(mod: ModuleType):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_dataclasses/test_tutorial001.py

@ -157,7 +157,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

12
tests/test_tutorial/test_dataclasses/test_tutorial003.py

@ -199,7 +199,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }
@ -336,7 +340,11 @@ def test_openapi_schema_pv1(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

6
tests/test_tutorial/test_dependencies/test_tutorial001.py

@ -184,7 +184,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_dependencies/test_tutorial004.py

@ -163,7 +163,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_dependencies/test_tutorial006.py

@ -149,7 +149,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_dependencies/test_tutorial012.py

@ -261,7 +261,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

6
tests/test_tutorial/test_events/test_tutorial001.py

@ -74,7 +74,11 @@ def test_openapi_schema(app: FastAPI):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_events/test_tutorial003.py

@ -87,7 +87,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

6
tests/test_tutorial/test_extra_data_types/test_tutorial001.py

@ -177,7 +177,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_extra_models/test_tutorial003.py

@ -133,7 +133,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_generate_clients/test_tutorial003.py

@ -182,7 +182,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

6
tests/test_tutorial/test_handling_errors/test_tutorial001.py

@ -74,7 +74,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_handling_errors/test_tutorial002.py

@ -74,7 +74,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_handling_errors/test_tutorial003.py

@ -75,7 +75,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_handling_errors/test_tutorial004.py

@ -80,7 +80,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_handling_errors/test_tutorial005.py

@ -119,7 +119,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

6
tests/test_tutorial/test_handling_errors/test_tutorial006.py

@ -102,7 +102,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_header_param_models/test_tutorial001.py

@ -229,7 +229,11 @@ def test_openapi_schema(client: TestClient):
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],

6
tests/test_tutorial/test_header_param_models/test_tutorial002.py

@ -240,7 +240,11 @@ def test_openapi_schema(client: TestClient):
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],

6
tests/test_tutorial/test_header_param_models/test_tutorial003.py

@ -276,7 +276,11 @@ def test_openapi_schema(client: TestClient):
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],

6
tests/test_tutorial/test_header_params/test_tutorial001.py

@ -102,7 +102,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_header_params/test_tutorial002.py

@ -114,7 +114,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_header_params/test_tutorial003.py

@ -126,7 +126,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

6
tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py

@ -216,7 +216,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

6
tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py

@ -109,7 +109,11 @@ def test_openapi_schema():
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],

12
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial004.py

@ -122,7 +122,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {
@ -222,7 +226,11 @@ def test_openapi_schema_pv1(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

12
tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py

@ -121,7 +121,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {
@ -221,7 +225,11 @@ def test_openapi_schema_pv1(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_path_params/test_tutorial004.py

@ -75,7 +75,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_path_params/test_tutorial005.py

@ -138,7 +138,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

6
tests/test_tutorial/test_pydantic_v1_in_v2/test_tutorial002.py

@ -131,7 +131,11 @@ def test_openapi_schema(client: TestClient):
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],

6
tests/test_tutorial/test_pydantic_v1_in_v2/test_tutorial003.py

@ -145,7 +145,11 @@ def test_openapi_schema(client: TestClient):
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],

6
tests/test_tutorial/test_pydantic_v1_in_v2/test_tutorial004.py

@ -144,7 +144,11 @@ def test_openapi_schema(client: TestClient):
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],

6
tests/test_tutorial/test_query_param_models/test_tutorial001.py

@ -251,7 +251,11 @@ def test_openapi_schema(client: TestClient):
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],

6
tests/test_tutorial/test_query_param_models/test_tutorial002.py

@ -273,7 +273,11 @@ def test_openapi_schema(client: TestClient):
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],

6
tests/test_tutorial/test_query_params/test_tutorial005.py

@ -102,7 +102,11 @@ def test_openapi_schema():
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_query_params/test_tutorial006.py

@ -169,7 +169,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_query_params_str_validations/test_tutorial010.py

@ -167,7 +167,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_query_params_str_validations/test_tutorial011.py

@ -113,7 +113,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_query_params_str_validations/test_tutorial012.py

@ -99,7 +99,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_query_params_str_validations/test_tutorial013.py

@ -98,7 +98,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_query_params_str_validations/test_tutorial014.py

@ -96,7 +96,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

6
tests/test_tutorial/test_query_params_str_validations/test_tutorial015.py

@ -134,7 +134,11 @@ def test_openapi_schema(client: TestClient):
"type": {"type": "string", "title": "Error Type"}, "type": {"type": "string", "title": "Error Type"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
"type": "object", "type": "object",
"required": ["loc", "msg", "type"], "required": ["loc", "msg", "type"],

6
tests/test_tutorial/test_request_files/test_tutorial001.py

@ -215,7 +215,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
"HTTPValidationError": { "HTTPValidationError": {

6
tests/test_tutorial/test_request_files/test_tutorial001_02.py

@ -220,7 +220,11 @@ def test_openapi_schema(client: TestClient):
"type": {"title": "Error Type", "type": "string"}, "type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"}, "input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"}, "ctx": {"title": "Context", "type": "object"},
"url": {"title": "Error URL", "type": "string", "format": "uri"}, "url": {
"title": "Error URL",
"type": "string",
"format": "uri",
},
}, },
}, },
} }

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save