fastapi/tests/test_tutorial/test_dependencies
majiayu000 b8a617d62f Update ValidationError schema for Pydantic V2 compatibility
Add input, ctx, and url fields to the ValidationError OpenAPI definition
to accurately reflect the actual error structure returned by Pydantic V2.

Pydantic V2 validation errors include additional fields:
- input: The value that failed validation
- ctx: Additional context about the error (optional)
- url: Documentation URL for the error type (optional)

Fixes #10787
2025-12-14 17:02:12 +08:00
..
__init__.py ♻️ Re-format tutorials, files names and tests 2018-12-18 21:59:06 +04:00
test_tutorial001.py Update ValidationError schema for Pydantic V2 compatibility 2025-12-14 17:02:12 +08:00
test_tutorial004.py Update ValidationError schema for Pydantic V2 compatibility 2025-12-14 17:02:12 +08:00
test_tutorial006.py Update ValidationError schema for Pydantic V2 compatibility 2025-12-14 17:02:12 +08:00
test_tutorial008b.py Simplify tests for dependencies (#13174) 2025-01-19 06:25:51 +00:00
test_tutorial008c.py 🐛 Fix support for `StreamingResponse`s with dependencies with `yield` or `UploadFile`s, close after the response is done (#14099) 2025-09-29 05:29:38 +02:00
test_tutorial008d.py Simplify tests for dependencies (#13174) 2025-01-19 06:25:51 +00:00
test_tutorial008e.py Add support for dependencies with scopes, support `scope="request"` for dependencies with `yield` that exit before the response is sent (#14262) 2025-11-03 11:12:49 +01:00
test_tutorial012.py Update ValidationError schema for Pydantic V2 compatibility 2025-12-14 17:02:12 +08:00