mirror of https://github.com/tiangolo/fastapi.git
📝Fixed tests regarding the typo
This commit is contained in:
parent
88a7f70e8e
commit
e8efce6c42
|
|
@ -132,7 +132,7 @@ def test_openapi_schema(client: TestClient):
|
|||
"name": {"title": "Name", "type": "string"},
|
||||
"description": IsDict(
|
||||
{
|
||||
"title": "The description of the item",
|
||||
"title": "The title of the item",
|
||||
"anyOf": [
|
||||
{"maxLength": 300, "type": "string"},
|
||||
{"type": "null"},
|
||||
|
|
@ -142,7 +142,7 @@ def test_openapi_schema(client: TestClient):
|
|||
| IsDict(
|
||||
# TODO: remove when deprecating Pydantic v1
|
||||
{
|
||||
"title": "The description of the item",
|
||||
"title": "The title of the item",
|
||||
"maxLength": 300,
|
||||
"type": "string",
|
||||
}
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ def test_openapi_schema(client: TestClient):
|
|||
"name": {"title": "Name", "type": "string"},
|
||||
"description": IsDict(
|
||||
{
|
||||
"title": "The description of the item",
|
||||
"title": "The title of the item",
|
||||
"anyOf": [
|
||||
{"maxLength": 300, "type": "string"},
|
||||
{"type": "null"},
|
||||
|
|
@ -142,7 +142,7 @@ def test_openapi_schema(client: TestClient):
|
|||
| IsDict(
|
||||
# TODO: remove when deprecating Pydantic v1
|
||||
{
|
||||
"title": "The description of the item",
|
||||
"title": "The title of the item",
|
||||
"maxLength": 300,
|
||||
"type": "string",
|
||||
}
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ def test_openapi_schema(client: TestClient):
|
|||
"name": {"title": "Name", "type": "string"},
|
||||
"description": IsDict(
|
||||
{
|
||||
"title": "The description of the item",
|
||||
"title": "The title of the item",
|
||||
"anyOf": [
|
||||
{"maxLength": 300, "type": "string"},
|
||||
{"type": "null"},
|
||||
|
|
@ -148,7 +148,7 @@ def test_openapi_schema(client: TestClient):
|
|||
| IsDict(
|
||||
# TODO: remove when deprecating Pydantic v1
|
||||
{
|
||||
"title": "The description of the item",
|
||||
"title": "The title of the item",
|
||||
"maxLength": 300,
|
||||
"type": "string",
|
||||
}
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ def test_openapi_schema(client: TestClient):
|
|||
"name": {"title": "Name", "type": "string"},
|
||||
"description": IsDict(
|
||||
{
|
||||
"title": "The description of the item",
|
||||
"title": "The title of the item",
|
||||
"anyOf": [
|
||||
{"maxLength": 300, "type": "string"},
|
||||
{"type": "null"},
|
||||
|
|
@ -148,7 +148,7 @@ def test_openapi_schema(client: TestClient):
|
|||
| IsDict(
|
||||
# TODO: remove when deprecating Pydantic v1
|
||||
{
|
||||
"title": "The description of the item",
|
||||
"title": "The title of the item",
|
||||
"maxLength": 300,
|
||||
"type": "string",
|
||||
}
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ def test_openapi_schema(client: TestClient):
|
|||
"name": {"title": "Name", "type": "string"},
|
||||
"description": IsDict(
|
||||
{
|
||||
"title": "The description of the item",
|
||||
"title": "The title of the item",
|
||||
"anyOf": [
|
||||
{"maxLength": 300, "type": "string"},
|
||||
{"type": "null"},
|
||||
|
|
@ -148,7 +148,7 @@ def test_openapi_schema(client: TestClient):
|
|||
| IsDict(
|
||||
# TODO: remove when deprecating Pydantic v1
|
||||
{
|
||||
"title": "The description of the item",
|
||||
"title": "The title of the item",
|
||||
"maxLength": 300,
|
||||
"type": "string",
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue