mirror of https://github.com/tiangolo/fastapi.git
🎨 Auto format
This commit is contained in:
parent
b8a617d62f
commit
85b156c180
|
|
@ -91,9 +91,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -123,9 +123,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
|
||||||
|
|
@ -145,9 +145,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -66,9 +66,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -305,9 +305,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1269,9 +1269,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -1111,9 +1111,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
|
||||||
|
|
@ -239,9 +239,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -49,9 +49,9 @@ expected_schema = {
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
||||||
},
|
},
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
"title": "ValidationError",
|
"title": "ValidationError",
|
||||||
|
|
|
||||||
|
|
@ -352,9 +352,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -123,9 +123,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -177,9 +177,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -89,9 +89,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
|
||||||
|
|
@ -223,9 +223,13 @@ def test_top_level_generate_unique_id():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
@ -427,9 +431,13 @@ def test_router_overrides_generate_unique_id():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
@ -631,9 +639,13 @@ def test_router_include_overrides_generate_unique_id():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
@ -908,9 +920,13 @@ def test_subrouter_top_level_include_overrides_generate_unique_id():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
@ -1115,9 +1131,13 @@ def test_router_path_operation_overrides_generate_unique_id():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
@ -1326,9 +1346,13 @@ def test_app_path_operation_overrides_generate_unique_id():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
@ -1615,9 +1639,13 @@ def test_callback_override_generate_unique_id():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -81,9 +81,9 @@ openapi_schema = {
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
||||||
},
|
},
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
"title": "ValidationError",
|
"title": "ValidationError",
|
||||||
|
|
|
||||||
|
|
@ -100,9 +100,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7290,9 +7290,13 @@ def test_openapi():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -350,9 +350,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -131,9 +131,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -221,9 +221,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -118,9 +118,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -192,9 +192,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
|
||||||
|
|
@ -461,9 +461,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
|
||||||
|
|
@ -130,9 +130,13 @@ def test_openapi():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -438,9 +438,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
@ -673,9 +677,13 @@ def test_openapi_schema_no_separate():
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
|
||||||
|
|
@ -86,9 +86,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -151,9 +151,9 @@ openapi_schema = {
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -78,9 +78,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -464,9 +464,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
|
||||||
|
|
@ -690,9 +690,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
|
||||||
|
|
@ -1488,9 +1488,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
|
||||||
|
|
@ -831,9 +831,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
@ -1045,9 +1049,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
|
||||||
|
|
@ -755,9 +755,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
|
||||||
|
|
@ -170,9 +170,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
|
||||||
|
|
@ -153,9 +153,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
|
||||||
|
|
@ -42,9 +42,9 @@ schema = {
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
||||||
},
|
},
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
"title": "ValidationError",
|
"title": "ValidationError",
|
||||||
|
|
|
||||||
|
|
@ -50,9 +50,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
"title": "ValidationError",
|
"title": "ValidationError",
|
||||||
|
|
|
||||||
|
|
@ -90,9 +90,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -170,9 +170,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -959,9 +959,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -300,9 +300,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -303,9 +303,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -304,9 +304,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -184,9 +184,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -305,9 +305,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -303,9 +303,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -98,9 +98,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -122,9 +122,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -102,9 +102,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -125,9 +125,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -719,9 +719,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -471,9 +471,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -198,9 +198,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -201,9 +201,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -268,9 +268,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -115,9 +115,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -170,9 +170,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
@ -307,9 +311,13 @@ def test_openapi_schema_pv1(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -194,9 +194,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
|
||||||
|
|
@ -232,9 +232,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
|
||||||
|
|
@ -109,9 +109,13 @@ def test_openapi_schema(mod: ModuleType):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -155,9 +155,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -197,9 +197,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
@ -334,9 +338,13 @@ def test_openapi_schema_pv1(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -182,9 +182,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -161,9 +161,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -147,9 +147,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -259,9 +259,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -72,9 +72,13 @@ def test_openapi_schema(app: FastAPI):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -85,9 +85,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -175,9 +175,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -131,9 +131,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -180,9 +180,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -72,9 +72,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -72,9 +72,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -73,9 +73,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -78,9 +78,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -117,9 +117,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -100,9 +100,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -227,9 +227,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
|
||||||
|
|
@ -238,9 +238,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
|
||||||
|
|
@ -274,9 +274,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
|
||||||
|
|
@ -100,9 +100,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -112,9 +112,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -124,9 +124,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -214,9 +214,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -107,9 +107,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
|
||||||
|
|
@ -120,9 +120,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
@ -220,9 +224,13 @@ def test_openapi_schema_pv1(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -119,9 +119,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
@ -219,9 +223,13 @@ def test_openapi_schema_pv1(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -73,9 +73,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -136,9 +136,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -129,9 +129,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
|
||||||
|
|
@ -143,9 +143,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
|
||||||
|
|
@ -142,9 +142,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
|
||||||
|
|
@ -249,9 +249,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
|
||||||
|
|
@ -271,9 +271,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"type": "string", "title": "Message"},
|
"msg": {"type": "string", "title": "Message"},
|
||||||
"type": {"type": "string", "title": "Error Type"},
|
"type": {"type": "string", "title": "Error Type"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["loc", "msg", "type"],
|
"required": ["loc", "msg", "type"],
|
||||||
|
|
|
||||||
|
|
@ -100,9 +100,13 @@ def test_openapi_schema():
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -167,9 +167,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -165,9 +165,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -111,9 +111,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -97,9 +97,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
|
|
@ -96,9 +96,13 @@ def test_openapi_schema(client: TestClient):
|
||||||
},
|
},
|
||||||
"msg": {"title": "Message", "type": "string"},
|
"msg": {"title": "Message", "type": "string"},
|
||||||
"type": {"title": "Error Type", "type": "string"},
|
"type": {"title": "Error Type", "type": "string"},
|
||||||
"input": {"title": "Input"},
|
"input": {"title": "Input"},
|
||||||
"ctx": {"title": "Context", "type": "object"},
|
"ctx": {"title": "Context", "type": "object"},
|
||||||
"url": {"title": "Error URL", "type": "string", "format": "uri"},
|
"url": {
|
||||||
|
"title": "Error URL",
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue