aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/app.py')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/app.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/app.py b/packages/meshbay-hub/src/meshbay_hub/app.py
index 82ae110..afc1cde 100644
--- a/packages/meshbay-hub/src/meshbay_hub/app.py
+++ b/packages/meshbay-hub/src/meshbay_hub/app.py
@@ -142,6 +142,14 @@ def create_app(cfg: HubConfig | None = None) -> FastAPI:
version=__version__,
description="MeshBay identity authority and group registry",
lifespan=lifespan,
+ # No interactive docs and no schema. The full description of the
+ # identity authority's API is a map for whoever probes it, and nothing
+ # in the tree reads it. meshbay.org hid these in its Caddyfile (S18),
+ # which protects exactly one deployment: a hub installed from the
+ # package, behind any other proxy, published all three.
+ docs_url=None,
+ redoc_url=None,
+ openapi_url=None,
)
# Rate limiting