mirror of https://github.com/tiangolo/fastapi.git
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 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_tutorial001.py | ||
| test_tutorial002.py | ||
| test_tutorial003.py | ||