🐛 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

@@ -108,6 +108,8 @@ def test_openapi_schema(client: TestClient):
},
"msg": {"title": "Message", "type": "string"},
"type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"},
},
},
"HTTPValidationError": {

View File

@@ -109,6 +109,8 @@ def test_openapi_schema(client: TestClient):
},
"msg": {"title": "Message", "type": "string"},
"type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"},
},
},
"HTTPValidationError": {

View File

@@ -130,6 +130,8 @@ def test_openapi_schema(client: TestClient):
},
"msg": {"title": "Message", "type": "string"},
"type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"},
},
},
"HTTPValidationError": {

View File

@@ -138,6 +138,8 @@ def test_openapi_schema(client: TestClient):
},
"msg": {"title": "Message", "type": "string"},
"type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"},
},
},
"HTTPValidationError": {

View File

@@ -86,6 +86,8 @@ def test_openapi_schema():
},
"msg": {"title": "Message", "type": "string"},
"type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"},
},
},
"HTTPValidationError": {

View File

@@ -137,6 +137,8 @@ def test_openapi_schema(client: TestClient):
},
"msg": {"title": "Message", "type": "string"},
"type": {"title": "Error Type", "type": "string"},
"input": {"title": "Input"},
"ctx": {"title": "Context", "type": "object"},
},
},
"HTTPValidationError": {