From 62837fd571df817277ca476789c2d9b60ab5f45c Mon Sep 17 00:00:00 2001 From: Alfie Day Date: Tue, 27 Feb 2024 14:07:02 +0000 Subject: [PATCH] Update SWAGGER_UI_DIST settings.rst Small documentation fix, the settings documentation says that the default SWAGGER_UI_DIST is //unpkg.com/swagger-ui-dist@3.35.1 - but this seems to have changed, the default is now https://cdn.jsdelivr.net/npm/swagger-ui-dist@latest --- docs/settings.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/settings.rst b/docs/settings.rst index d3fd116b..10c6489e 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -56,7 +56,7 @@ in your project files. ... }, # available SwaggerUI versions: https://github.com/swagger-api/swagger-ui/releases - "SWAGGER_UI_DIST": "//unpkg.com/swagger-ui-dist@3.35.1", # default + "SWAGGER_UI_DIST": "https://cdn.jsdelivr.net/npm/swagger-ui-dist@latest", # default "SWAGGER_UI_FAVICON_HREF": settings.STATIC_URL + "your_company_favicon.png", # default is swagger favicon ... }