From b0894fd50ba8f1629a99de482c6074ab9e65e2e7 Mon Sep 17 00:00:00 2001 From: Patrick Arminio Date: Wed, 8 Oct 2025 08:59:44 +0100 Subject: [PATCH] Fix test --- tests/test_union_body_discriminator.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/test_union_body_discriminator.py b/tests/test_union_body_discriminator.py index aebd4cbc3..5157eed7c 100644 --- a/tests/test_union_body_discriminator.py +++ b/tests/test_union_body_discriminator.py @@ -49,13 +49,6 @@ def test_openapi_schema_pydantic_v1() -> None: {"$ref": "#/components/schemas/FirstItem"}, {"$ref": "#/components/schemas/OtherItem"}, ], - "discriminator": { - "propertyName": "value", - "mapping": { - "first": "#/components/schemas/FirstItem", - "other": "#/components/schemas/OtherItem", - }, - }, "title": "Item", } }