mirror of https://github.com/tiangolo/fastapi.git
📌 Relax Swagger UI version pin (#2089)
This commit is contained in:
parent
82a1300257
commit
b8e6d18385
|
|
@ -9,8 +9,8 @@ def get_swagger_ui_html(
|
||||||
*,
|
*,
|
||||||
openapi_url: str,
|
openapi_url: str,
|
||||||
title: str,
|
title: str,
|
||||||
swagger_js_url: str = "https://cdn.jsdelivr.net/npm/swagger-ui-dist@3.30.0/swagger-ui-bundle.js",
|
swagger_js_url: str = "https://cdn.jsdelivr.net/npm/swagger-ui-dist@3/swagger-ui-bundle.js",
|
||||||
swagger_css_url: str = "https://cdn.jsdelivr.net/npm/swagger-ui-dist@3.30.0/swagger-ui.css",
|
swagger_css_url: str = "https://cdn.jsdelivr.net/npm/swagger-ui-dist@3/swagger-ui.css",
|
||||||
swagger_favicon_url: str = "https://fastapi.tiangolo.com/img/favicon.png",
|
swagger_favicon_url: str = "https://fastapi.tiangolo.com/img/favicon.png",
|
||||||
oauth2_redirect_url: Optional[str] = None,
|
oauth2_redirect_url: Optional[str] = None,
|
||||||
init_oauth: Optional[dict] = None,
|
init_oauth: Optional[dict] = None,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue