🐛 Update ValidationError schema to include input and ctx (#14791)

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
This commit is contained in:
Jonathan Fulton
2026-02-04 09:34:02 -05:00
committed by GitHub
parent 1e5e8b44cb
commit 75c47187f3
177 changed files with 368 additions and 0 deletions

View File

@@ -335,6 +335,8 @@ def test_openapi_schema(client: TestClient):
},
"ValidationError": {
"properties": {
"ctx": {"title": "Context", "type": "object"},
"input": {"title": "Input"},
"loc": {
"items": {
"anyOf": [{"type": "string"}, {"type": "integer"}]

View File

@@ -416,6 +416,8 @@ def test_openapi_schema(client: TestClient):
},
"ValidationError": {
"properties": {
"ctx": {"title": "Context", "type": "object"},
"input": {"title": "Input"},
"loc": {
"items": {
"anyOf": [{"type": "string"}, {"type": "integer"}]