🐛 Fix JSON Schema for ValidationError at field loc (#3810)

Co-authored-by: Devin Conathan <dconatha@amfam.com>
This commit is contained in:
dconathanandDevin Conathan authored and GitHub committed 2022-04-17 19:41:46 +02:00
1 parent 1d8d81a6d5
commit c449ae5c74
78 files changed
+83 -79

No files matched your search

@@ -261,7 +261,7 @@ openapi_schema = {
"loc": {
"title": "Location",
"type": "array",
"items": {"type": "string"},
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
},
"msg": {"title": "Message", "type": "string"},
"type": {"title": "Error Type", "type": "string"},
@@ -260,7 +260,7 @@ openapi_schema = {
"loc": {
"title": "Location",
"type": "array",
"items": {"type": "string"},
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
},
"msg": {"title": "Message", "type": "string"},
"type": {"title": "Error Type", "type": "string"},