diff --git a/tests/test_security_api_key_query.py b/tests/test_security_api_key_query.py index fcfde8308..497fcd34e 100644 --- a/tests/test_security_api_key_query.py +++ b/tests/test_security_api_key_query.py @@ -59,8 +59,6 @@ def test_openapi_schema(): } }, "components": { - "securitySchemes": { - "key": {"type": "apiKey", "name": "key", "in": "query"} - } + "securitySchemes": {"key": {"type": "apiKey", "name": "key", "in": "query"}} }, } diff --git a/tests/test_security_api_key_query_optional.py b/tests/test_security_api_key_query_optional.py index 4862a9657..40dafe5cd 100644 --- a/tests/test_security_api_key_query_optional.py +++ b/tests/test_security_api_key_query_optional.py @@ -65,8 +65,6 @@ def test_openapi_schema(): } }, "components": { - "securitySchemes": { - "key": {"type": "apiKey", "name": "key", "in": "query"} - } + "securitySchemes": {"key": {"type": "apiKey", "name": "key", "in": "query"}} }, }