Skip to content

Commit

Permalink
fix: match output of HTTPValidationError as per Pydantic v2
Browse files Browse the repository at this point in the history
  • Loading branch information
iudeen committed Dec 18, 2023
1 parent 36c2667 commit 74c35d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fastapi/openapi/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
"type": "array",
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
},
"input": {"title": "Input", "type": "any"},
"url": {"title": "URL", "type": "string"},
"msg": {"title": "Message", "type": "string"},
"type": {"title": "Error Type", "type": "string"},
},
Expand Down

0 comments on commit 74c35d4

Please sign in to comment.