diff --git a/tests/test_get_openapi_schema.py b/tests/test_get_openapi_schema.py index 6d89f320e..05fa8d2a0 100644 --- a/tests/test_get_openapi_schema.py +++ b/tests/test_get_openapi_schema.py @@ -21,7 +21,7 @@ client = TestClient(app) openapi_schema = { - "openapi": "3.0.2", + "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items": {