]> git.ipfire.org Git - dbl.git/commitdiff
api: Don't list the index redirection as an endpoint
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 27 Feb 2026 16:52:36 +0000 (16:52 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 27 Feb 2026 16:52:36 +0000 (16:52 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/dbl/api/__init__.py

index 68e6e98c9e046b8998f8381b9757a5af78b3d16d..cdf4ef5ee56acaeddd20223719f6e83224f4799c 100644 (file)
@@ -59,7 +59,7 @@ from . import reports
 
 # Index
 
-@app.get("/")
+@app.get("/", include_in_schema=False)
 def index():
        """
                Redirect straight to the documentation