fastapi/tests/test_tutorial/test_request_forms
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-implement check for body as a workaround 2018-12-22 07:40:56 +04:00
test_tutorial001.py Update ValidationError schema for Pydantic V2 compatibility 2025-12-14 17:02:12 +08:00