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