diff --git a/fastapi/openapi/docs.py b/fastapi/openapi/docs.py index b313885dc..79904167b 100644 --- a/fastapi/openapi/docs.py +++ b/fastapi/openapi/docs.py @@ -1,11 +1,10 @@ import json from typing import Any, Dict, Optional, Set +from fastapi.encoders import jsonable_encoder from starlette.responses import HTMLResponse from typing_extensions import Annotated, Doc -from fastapi.encoders import jsonable_encoder - swagger_ui_default_parameters: Annotated[ Dict[str, Any], Doc(