mirror of https://github.com/tiangolo/fastapi.git
✅ Fix new/recent tests with new fixed `ValidationError` JSON Schema (#4806)
This commit is contained in:
parent
197c1d6dd7
commit
ddd9da3db4
|
|
@ -217,7 +217,9 @@ def test_top_level_generate_unique_id():
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {
|
||||||
|
"anyOf": [{"type": "string"}, {"type": "integer"}]
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
@ -416,7 +418,9 @@ def test_router_overrides_generate_unique_id():
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {
|
||||||
|
"anyOf": [{"type": "string"}, {"type": "integer"}]
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
@ -615,7 +619,9 @@ def test_router_include_overrides_generate_unique_id():
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {
|
||||||
|
"anyOf": [{"type": "string"}, {"type": "integer"}]
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
@ -887,7 +893,9 @@ def test_subrouter_top_level_include_overrides_generate_unique_id():
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {
|
||||||
|
"anyOf": [{"type": "string"}, {"type": "integer"}]
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
@ -1089,7 +1097,9 @@ def test_router_path_operation_overrides_generate_unique_id():
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {
|
||||||
|
"anyOf": [{"type": "string"}, {"type": "integer"}]
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
@ -1295,7 +1305,9 @@ def test_app_path_operation_overrides_generate_unique_id():
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {
|
||||||
|
"anyOf": [{"type": "string"}, {"type": "integer"}]
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
@ -1579,7 +1591,9 @@ def test_callback_override_generate_unique_id():
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {
|
||||||
|
"anyOf": [{"type": "string"}, {"type": "integer"}]
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -149,7 +149,7 @@ openapi_shema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -200,7 +200,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -84,7 +84,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -108,7 +108,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -108,7 +108,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -102,7 +102,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -87,7 +87,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -147,7 +147,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -106,7 +106,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -107,7 +107,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -120,7 +120,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -119,7 +119,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -132,7 +132,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -132,7 +132,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -102,7 +102,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -134,7 +134,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -134,7 +134,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -263,7 +263,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -263,7 +263,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -263,7 +263,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
|
|
@ -263,7 +263,7 @@ openapi_schema = {
|
||||||
"loc": {
|
"loc": {
|
||||||
"title": "Location",
|
"title": "Location",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"type": "string"},
|
"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue