From 176398cb48c7270341f4ba00c5e149299a990ca7 Mon Sep 17 00:00:00 2001 From: marclave Date: Tue, 21 Nov 2023 20:00:00 -0800 Subject: [PATCH] fix: add disable example for scalar docs url --- fastapi/applications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastapi/applications.py b/fastapi/applications.py index ac7567e20..192026d9f 100644 --- a/fastapi/applications.py +++ b/fastapi/applications.py @@ -416,7 +416,7 @@ class FastAPI(Starlette): ```python from fastapi import FastAPI - app = FastAPI(docs_url="/documentation", redoc_url=None) + app = FastAPI(docs_url="/documentation", redoc_url=None, scalar_url=None) ``` """ ),