From 2d09c0c5d1e5dd3ef31346d6aa2620ed4c17d49b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Sun, 8 Feb 2026 00:37:17 +0100 Subject: [PATCH] =?UTF-8?q?=E2=8F=AA=EF=B8=8F=20Revert=20changing=20OpenAP?= =?UTF-8?q?I=20for=20tests/test=5Ftutorial/test=5Fextra=5Fmodels/test=5Ftu?= =?UTF-8?q?torial003.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_tutorial/test_extra_models/test_tutorial003.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_tutorial/test_extra_models/test_tutorial003.py b/tests/test_tutorial/test_extra_models/test_tutorial003.py index b609e4c6c..38e874158 100644 --- a/tests/test_tutorial/test_extra_models/test_tutorial003.py +++ b/tests/test_tutorial/test_extra_models/test_tutorial003.py @@ -56,6 +56,7 @@ def test_openapi_schema(client: TestClient): "content": { "application/json": { "schema": { + "title": "Response Read Item Items Item Id Get", "anyOf": [ { "$ref": "#/components/schemas/PlaneItem" @@ -63,7 +64,7 @@ def test_openapi_schema(client: TestClient): { "$ref": "#/components/schemas/CarItem" }, - ] + ], } } }, @@ -84,7 +85,7 @@ def test_openapi_schema(client: TestClient): "parameters": [ { "required": True, - "schema": {"type": "string"}, + "schema": {"title": "Item Id", "type": "string"}, "name": "item_id", "in": "path", }