diff --git a/tests/test_path_parameters_order.py b/tests/test_path_parameters_order.py index b4e28acc32..a5e620e623 100644 --- a/tests/test_path_parameters_order.py +++ b/tests/test_path_parameters_order.py @@ -124,7 +124,12 @@ openapi_schema = { "loc": { "title": "Location", "type": "array", - "items": {"type": "string"}, + "items": { + "anyOf": [ + {"type": "string"}, + {"type": "integer"}, + ] + }, }, "msg": {"title": "Message", "type": "string"}, "type": {"title": "Error Type", "type": "string"},