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

Co-authored-by: Devin Conathan <dconatha@amfam.com>
This commit is contained in:
dconathan
2022-04-17 12:41:46 -05:00
committed by GitHub
parent 1d8d81a6d5
commit c449ae5c74
78 changed files with 83 additions and 79 deletions

View File

@@ -61,7 +61,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"},