fastapi/tests/test_tutorial/test_extra_models
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 Document and test union and list response models (#108) 2019-03-25 23:28:09 +04:00
test_tutorial003.py Update ValidationError schema for Pydantic V2 compatibility 2025-12-14 17:02:12 +08:00
test_tutorial004.py Simplify tests for extra_models (#13178) 2025-01-19 06:29:33 +00:00
test_tutorial005.py Simplify tests for extra_models (#13178) 2025-01-19 06:29:33 +00:00