|
|
|
@ -5,6 +5,7 @@ from fastapi.testclient import TestClient |
|
|
|
from inline_snapshot import snapshot |
|
|
|
from starlette.routing import Route |
|
|
|
|
|
|
|
from typing import Any, Callable, Sequence |
|
|
|
app = FastAPI() |
|
|
|
|
|
|
|
|
|
|
|
@ -121,10 +122,6 @@ def test_openapi_schema(): |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
from collections.abc import Callable, Sequence |
|
|
|
from typing import Any |
|
|
|
|
|
|
|
|
|
|
|
class LegacyAPIRoute(APIRoute): |
|
|
|
"""Route subclass with explicit __init__ matching the pre-strict_content_type signature.""" |
|
|
|
|
|
|
|
|